06.07.2009, 21:34
pawn Код:
if (strcmp(text,"1",true) == 0)
{
new Playermoney = GetPlayerMoney(playerid);
if (Playermoney >= 900)
{
SendClientMessage(playerid,0x38FF06FF,"$900 Whore");
GivePlayerMoney(playerid, -900);
GivePlayerWeapon(playerid,24,120);
IsInCheckPoint[playerid] = 1;
return 0;
}
SendClientMessage(playerid,0x38FF06FF,"You Do not have enough Cash");
}
When I dont have $900 I get the Message: You Do not have enough Cash
Which is great but It also makes me say: 1. Is there a way to fix this?