fix buyhouse cmd
#1

Код:
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;
}
Can somebody fix it? and tell me what I'm doing wrong here.
It does not compile and send warnings 219.
thx ;e
Reply


Messages In This Thread
fix buyhouse cmd - by rakinz - 19.11.2017, 11:00
Re: fix buyhouse cmd - by n00blek - 19.11.2017, 11:03
Re: fix buyhouse cmd - by rakinz - 19.11.2017, 11:14
Re: fix buyhouse cmd - by Lucases - 19.11.2017, 11:23
Re: fix buyhouse cmd - by Meller - 19.11.2017, 11:30
Re: fix buyhouse cmd - by rakinz - 19.11.2017, 11:32

Forum Jump:


Users browsing this thread: 1 Guest(s)