[Help] Armour cmd
#6

maybe just.
if(strcmp(cmd,"/armour",true) == 0)
{
if(GetPlayerMoney(playerid) < 1500) return SendClientMessage(playerid,COLOR_RED,"** Sorry, you do not have enough cash. You need $1500!");
if(!IsPlayerInRangeOfPoint(playerid, 10, 316.524994,-167.706985,999.661987) || IsPlayerInRangeOfPoint(playerid, 3,316.524994,-167.706985,999.661987)) return SendClientMessage(playerid,COLOR_RED,"** Sorry, you are not in a store.");
SetPlayerArmour(playerid,100);
GivePlayerMoney(playerid, -1500); // It Takes 1500 dolars
return 1;
}
Reply


Messages In This Thread
[Help] Armour cmd - by NotoriousMOB - 13.11.2010, 12:53
Re: [Help] Armour cmd - by Basicz - 13.11.2010, 13:04
Re: [Help] Armour cmd - by NotoriousMOB - 13.11.2010, 13:13
Re: [Help] Armour cmd - by black_dota - 13.11.2010, 13:16
Re: [Help] Armour cmd - by Basicz - 13.11.2010, 13:16
Re: [Help] Armour cmd - by Gh0sT_ - 13.11.2010, 14:24
Re: [Help] Armour cmd - by black_dota - 13.11.2010, 16:41
Re: [Help] Armour cmd - by Vince - 13.11.2010, 18:29

Forum Jump:


Users browsing this thread: 4 Guest(s)