19.11.2017, 11:00
Код:
CMD:buyhouse(playerid, params[]); { if(GetPlayerMoney(playerid) >= 1499999) return SendClientMessage(playerid, COLOR_RED, "ERROR: You don't have enough money"); GivePlayerMoney(playerid, -1500000); GameTextForPlayer(playerid, "~r~-$1,500,000", 2500, 1); Delete3DTextLabel(House1Label); new name[MAX_PLAYER_NAME], string[24+MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), ""COL_GREEN"%s's house\n"COL_WHITE"1,500,000$", name); House1Label = Create3DTextLabel(string, 0x008080FF,2496.049804,-1695.238159,1014.742187, 50.0, 0, 1); return 1; }
It does not compile and send warnings 219.
thx ;e