15.08.2013, 01:52
Hi.
Hello to you. When I compile my GM I get three errors in dfferent lines, but I do not see where the errors come ...
All code is in callback OnPlayerStateChange.
Can you help me?
Hello to you. When I compile my GM I get three errors in dfferent lines, but I do not see where the errors come ...
pawn Код:
if(oldstate-1 && newstate) TextDrawHideForPlayer(playerid, sFuel[playerid]), TextDrawHideForPlayer(playerid, Jesaispas), TextDrawHideForPlayer(playerid, Transmission[playerid]), TextDrawHideForPlayer(playerid, Vitesse[playerid]); else if(newstate-1) TextDrawShowForPlayer(playerid, Jesaispas), TextDrawShowForPlayer(playerid, sFuel[playerid]), format(string, sizeof(string), "~y~Carburant: ~w~%d L", Fuel[GetPlayerVehicleID(playerid)]),
TextDrawSetString(sFuel[playerid], string), TextDrawShowForPlayer(playerid, Vitesse[playerid]), TextDrawShowForPlayer(playerid, Transmission[playerid]), format(string,sizeof(string),"~y~Vitesse: ~w~0 km/h"), TextDrawSetString(Vitesse[playerid], string), format(string,sizeof(string),"~y~Transmission: ~w~N"), TextDrawSetString(Transmission[playerid], string);
pawn Код:
TextDrawHideForPlayer(playerid, sFuel[playerid]), TextDrawHideForPlayer(playerid, Jesaispas), TextDrawHideForPlayer(playerid, Transmission[playerid]), TextDrawHideForPlayer(playerid, Vitesse[playerid]);
Can you help me?