01.11.2018, 05:16
Quote:
1 question why you are using this code for getting player cash?
You can define in command directly like this Code:
COMMAND:dinero(playerid,params[]) //546 line { if(GetPlayerMoney(playerid) <= 0); { GivePlayerMoney(playerid, 100000); SendClientMessage(playerid, COLOR_BLUE, "ЎDisfruta del dinero!"); } else if(GetPlayerNoney(playerid) >= 2); SendClientMessage(playerid, COLOR_RED, "ЎTu ya tienes dinero!"); return 1; } |
And you can not directly use condition in else, you have to use else if. Add if there.