Evo komanda :
Quote
if (strcmp("/poprema", cmdtext, true, 10) == 0)
{
if(PlayerToPoint(5.0,playerid,1359.5483, 461.5362, 7.1875))
{
if(PlayerInfo == 1)
{
ShowPlayerDialog(playerid, soruzja, DIALOG_STYLE_LIST, "["#COL_RED "Kupovina oruzja."#COL_LIGHTBLUE "]", "Pendrek \nPistolj \nSacma \nMP5 \nM4 \nDimna bomba ", "U redu", "Odustani");
}
return 1;
}
}
{
if(PlayerToPoint(5.0,playerid,1359.5483, 461.5362, 7.1875))
{
if(PlayerInfo == 1)
{
ShowPlayerDialog(playerid, soruzja, DIALOG_STYLE_LIST, "["#COL_RED "Kupovina oruzja."#COL_LIGHTBLUE "]", "Pendrek \nPistolj \nSacma \nMP5 \nM4 \nDimna bomba ", "U redu", "Odustani");
}
return 1;
}
}
Sa dialogom je sve u redu , i evo errora sada..
Quote
gamemodes\SBDM.pwn(369) : error 004: function "PlayerToPoint" is not implemented
gamemodes\SBDM.pwn(371) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
gamemodes\SBDM.pwn(371) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Evo red 369 :
Quote
if(PlayerToPoint(5.0,playerid,1359.5483, 461.5362, 7.1875))
I red 371 :
Quote
if(PlayerInfo == 1)
Moze pomoc ?
