SA-MP Forums

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

 
 
Thread Tools Display Modes
Old 14/04/2009, 04:20 PM   #1
nickbugun
Little Clucker
 
Join Date: Apr 2009
Posts: 48
Reputation: 0
Default /help Command / IsAtCarshop Prob

Quote:
if(IsAtCarshop(playerid, 0))
{
if(strcmp(cmdtext, "/help carshop", false) == 0)
SendClientMessage(playerid,blue,"[!] You are not at the Car Shop!");
}
else
{
if(strcmp(cmdtext, "/help carshop", true) == 0)
{
SendClientMessage(playerid,blue,"[!] Find a CarDealer, and see which vehicles he can sell you.");
return 1;
}
}
I`m having a problem, if a player isn`t at a car shop, and types /help carshop, it comes normally(you are not at carshop), but if a player enters the car shop and types that it tells him the same!
HELP?!?
nickbugun is offline  
Old 14/04/2009, 04:35 PM   #2
Benjo
Big Clucker
 
Join Date: Jul 2008
Posts: 124
Reputation: 7
Default Re: /help Command / IsAtCarshop Prob

You will have to post the IsAtCarshop method so that we can understand this
Benjo is offline  
Old 14/04/2009, 04:38 PM   #3
nickbugun
Little Clucker
 
Join Date: Apr 2009
Posts: 48
Reputation: 0
Default Re: /help Command / IsAtCarshop Prob

http://pastebin.com/m1230a7a
http://forum.sa-mp.com/index.php?topic=83714.0

...
nickbugun is offline  
Old 14/04/2009, 04:54 PM   #4
nickbugun
Little Clucker
 
Join Date: Apr 2009
Posts: 48
Reputation: 0
Default Re: /help Command / IsAtCarshop Prob

help?!?!
nickbugun 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
bot prob please help Klick11 Help Archive 1 02/12/2009 05:47 PM
NPC Prob [WF]Demon Help Archive 2 16/11/2009 11:55 AM
Interior prob WardenCS Help Archive 7 22/07/2009 03:41 PM
Job prob Amoken Help Archive 0 10/04/2009 08:36 PM


All times are GMT. The time now is 07:56 PM.


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