trying to upgrade the armor command buit it doesnt work
#4

Nope...


Код:
if (strcmp("/armour", cmdtext, true, 10) == 0)
    {
     new Float: Armour;
     GetPlayerArmour(playerid, Armour);
     if(Armour < 100) {
      if(GetPlayerMoney(playerid) >= 200) {
	        SetPlayerArmour(playerid, 100);
	        GivePlayerMoney(playerid, -200);
	        SendClientMessage(playerid,-1, "Your armour is now Full! xD");
	        return 1;
      } else return SendClientMessage(playerid, -1," You need more money ,dude...");
     } else return SendClientMessage(playerid, -1 , " Your armour is alerty full");
}
Reply


Messages In This Thread
trying to upgrade the armor command buit it doesnt work - by stefke150 - 02.04.2012, 13:20
Re: trying to upgrade the armor command buit it doesnt work - by Catalyst- - 02.04.2012, 13:31
Re: trying to upgrade the armor command buit it doesnt work - by stefke150 - 02.04.2012, 13:36
Re: trying to upgrade the armor command buit it doesnt work - by Shouty - 25.06.2012, 20:05

Forum Jump:


Users browsing this thread: 1 Guest(s)