SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 06/01/2010, 05:11 PM   #1
TheGtaLover
Big Clucker
 
Join Date: Dec 2008
Posts: 64
Reputation: 0
Default /locate

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
TheGtaLover is offline  
Old 06/01/2010, 05:12 PM   #2
Correlli
Godfather
 
Correlli's Avatar
 
Join Date: May 2009
Posts: 7,035
Reputation: 103
Default Re: /locate

Learn how to use SetPlayerCheckpoint - http://wiki.sa-mp.com/wiki/SetPlayerCheckpoint
Correlli is offline  
Old 06/01/2010, 05:33 PM   #3
TheGtaLover
Big Clucker
 
Join Date: Dec 2008
Posts: 64
Reputation: 0
Default Re: /locate

Quote:
Originally Posted by Don Correlli
Learn how to use SetPlayerCheckpoint - http://wiki.sa-mp.com/wiki/SetPlayerCheckpoint
oh, i must have over looked that awhile ago befor i made the post... thanks.
TheGtaLover is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[REQ] Locate phone Rasmus19 Help Archive 5 22/04/2010 09:16 PM
Cant locate my gta_sa.exe? Tinkotin Client Support 2 06/04/2010 03:29 PM
/locate ID Striker_Moe Help Archive 2 07/11/2009 09:02 PM
SA-MP Unable To Locate..... ExistingRolePlay Client Support 8 27/10/2009 11:46 PM


All times are GMT. The time now is 12:04 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.