06.07.2009, 21:40
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 1;
}
else return SendClientMessage(playerid,0x38FF06FF,"You Do not have enough Cash");
}