/help Command / IsAtCarshop Prob
#1

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?!?
Reply


Messages In This Thread
/help Command / IsAtCarshop Prob - by nickbugun - 14.04.2009, 16:20
Re: /help Command / IsAtCarshop Prob - by Benjo - 14.04.2009, 16:35
Re: /help Command / IsAtCarshop Prob - by nickbugun - 14.04.2009, 16:38
Re: /help Command / IsAtCarshop Prob - by nickbugun - 14.04.2009, 16:54

Forum Jump:


Users browsing this thread: 1 Guest(s)