SA-MP Forums Archive
/locate - 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: /locate (/showthread.php?tid=119072)



/locate - TheGtaLover - 06.01.2010

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


Re: /locate - Correlli - 06.01.2010

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


Re: /locate - TheGtaLover - 06.01.2010

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.