C:\Users\Vlad\Desktop\BigZoneGM\gamemodes\BigZoneGM.pwn(20522) : error 010: invalid function or declaration
C:\Users\Vlad\Desktop\BigZoneGM\gamemodes\BigZoneGM.pwn(20537) : error 029: invalid expression, assumed zero
C:\Users\Vlad\Desktop\BigZoneGM\gamemodes\BigZoneGM.pwn(20544) : error 010: invalid function or declaration
CMD:bonus(playerid, params[])
{
TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
TextDrawShowForPlayer(playerid, TDEditor_TD[1]);
TextDrawShowForPlayer(playerid, TDEditor_TD[2]);
TextDrawShowForPlayer(playerid, TDEditor_TD[3]);
SelectTextDraw(playerid, 0xFF0000FF);
}
return 1;
}
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(clickedid == TDEditor_TD[1])
{
TextDrawHideForPlayer(playerid, TDEditor_TD[0]);
TextDrawHideForPlayer(playerid, TDEditor_TD[1]);
TextDrawHideForPlayer(playerid, TDEditor_TD[2]);
TextDrawHideForPlayer(playerid, TDEditor_TD[3]);
SendClientMessage(playerid, COLOR_BLUE, "Ai primit ca bonus 100.000$.");
GivePlayerCash(playerid, 100000);
CancelSelectTextDraw(playerid);
}
if(clickedid == TDEditor_TD[2])
}
TextDrawHideForPlayer(playerid, TDEditor_TD[0]);
TextDrawHideForPlayer(playerid, TDEditor_TD[1]);
TextDrawHideForPlayer(playerid, TDEditor_TD[2]);
TextDrawHideForPlayer(playerid, TDEditor_TD[3]);
CancelSelectTextDraw(playerid);
}
return 1;
}
CE ESTE GRESIT?