Unknown command but it works - 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: Unknown command but it works (
/showthread.php?tid=496489)
Unknown command but it works -
trick_master - 22.02.2014
Код:
}
if (strcmp(cmdtext, "/stunt", true)==0) {
SetPlayerPos(playerid,2092.6423,-2613.0815,13.5469,24.8076);
SendClientMessage(playerid,0xFF0000FF,"Welcome To The Los Santos Airport Stunt Zone");
}
As you see above i made a simple teleport command but when i type /stunt it teleport me and show the Client message and evrything but after the client message has showed it say Unknow command Just below it
what to do ? please
Re: Unknown command but it works -
Konstantinos - 22.02.2014
Change to:
pawn Код:
SetPlayerPos(playerid,2092.6423,-2613.0815,13.5469);
It gives the unknown command because it gave a warning for arguments do not match on the compilation.
Re: Unknown command but it works -
BroZeus - 22.02.2014
-removed message by me caz i dont know how to delete the post-
Re: Unknown command but it works -
trick_master - 22.02.2014
thx guys it work perfectly now