Unknown command but it works
#1

Код:
 }
    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
Reply
#2

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.
Reply
#3

-removed message by me caz i dont know how to delete the post-
Reply
#4

thx guys it work perfectly now
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)