SA-MP Forums Archive
Is there are goto? in if(strcmp.. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Is there are goto? in if(strcmp.. (/showthread.php?tid=234087)



Is there are goto? in if(strcmp.. - [M.A]Angel[M.A] - 03.03.2011

Hello!,

I have server full commands more than 1500 cmd teleport ,btw i suck i cant add goto at :

Quote:

if(strcmp("/goto", cmdtext, true, 10) == 0)

Did i can to add cmd ''goto'' at this pawn type?




Sorry for my bad english


Re: Is there are goto? in if(strcmp.. - Antonio [G-RP] - 03.03.2011

That makes absolutely NO sense what so ever.


Re: Is there are goto? in if(strcmp.. - YungGee - 03.03.2011

Im guessing you mean /goto as goto w/e...

here u go?

pawn Код:
if(strcmp("/goto", cmdtext, true, 10) == 0)
{
    SetPlayerPos(playerid,X,Y,Z);
    return 1;
}