Quote:
Originally Posted by BladeFire
PHP код:
if(listitem == 0)
{
if (GetPlayerCash(playerid) >= 500 || PlayerInfo[playerid][pDonateRank] >= 3) {
GivePlayerCash(playerid, -500);
GivePlayerValidWeapon(playerid, 25, 60000);
format(string, sizeof(string), "Pumped Shotgun Purchase.");
SendClientMessageEx(playerid, COLOR_RED, string);
}
else
{
SendClientMessageEx(playerid, COLOR_GRAD4, "You don't have the cash for this item or You need to be gold vip +!");
}
}
I suggest you do this
|
this is not working only for the cash but not for the vip.