01.10.2016, 14:11
Код:
if(GetPlayerMoney(playerid >= 500)) { if(GetPlayerColor(playerid == 0xFFFFFF00)) return SendClientMessage(playerid, -1, "[System]: Your name tag color is already White. You don't need to change it."); SetPlayerColor(playerid, 0xFFFFFF00); GivePlayerMoney(playerid, -500); SendClientMessage(playerid, -1, "[System]: You have changed your name tag color to White (-$500). Thank you for your purchase!");
And the logic seems fine to me, maybe this has something to do with the GetPlayerColor usage?