Versuchs mal mit "i"
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(GetPlayerState(playerid)== PLAYER_STATE_DRIVER)
{
for(new i=0; i<sizeof(VehicleInfoDraw); i++) PlayerTextDrawShow(playerid,VehicleInfoDraw[playerid][i]);
SetTimerEx("DestroyCarInfo", 5000, 0, "i", playerid);
}
return 1;
}
//Fahrzeug Informationen löschen
forward DestroyCarInfo(playerid);
public DestroyCarInfo(playerid)
{
for(new i=0; i<sizeof(VehicleInfoDraw); i++) PlayerTextDrawDestroy(playerid,VehicleInfoDraw[playerid][i]);
return 1;
}