/locate
#1

Okay, i made a command, /location, and comes up saying "USAGE: /locate[bank/job]" ect..

so i made /locatebank, and heres the code of it:
Code:
if(strcmp(cmd, "/locatebank", true) == 0)
{
SendClientMessage(playerid, COLOR_GREEN, "The bank as been marked on your map");
SetPlayerCheckpoint(1458.2642,-1026.5463,23.6099, 6);
return 1;
}
but, i go ingame, and do /locatebank, only The bank as been marked on your map shows up, then says: SERVER: Unknown Command
and it dont show it on the map..? Any help??

To the ones who do help, thanks.

~iLike
Reply
#2

Learn how to use SetPlayerCheckpoint - https://sampwiki.blast.hk/wiki/SetPlayerCheckpoint
Reply
#3

Quote:
Originally Posted by Don Correlli
Learn how to use SetPlayerCheckpoint - https://sampwiki.blast.hk/wiki/SetPlayerCheckpoint
oh, i must have over looked that awhile ago befor i made the post... thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)