command problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: command problem (
/showthread.php?tid=655757)
command problem -
div - 29.06.2018
Код:
if(!strcmp(option, "bring", true))
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(pInfo[i][eventtp] == 1)
SetPlayerPos(i, PosX, PosY, PosZ + playerid);
}
return 1;
}
}
Well, i made a cmd to bring all, with a space, there are 2 options
One is goto(shows a DIALOG BOX)
and other is bring
Goto is working fine..
But bring isn't bringing players, it is showing me the dialog box which i used in GOTO..