30.08.2018, 04:00
I guess you can use a timer in the derby system.
Example:
Example:
PHP код:
new TIMERS[MAX_PLAYERS][1];
//after CreateVehicle
TIMERS[playerid][0] = SetTimerEx("PutPlayerVehicleDerby", 200, false, "i", playerid);
//Somewhere in your script
forward PutPlayerVehicleDerby(playerid);
public PutPlayerVehicleDerby(playerid)
{
PutPlayerInVehicle(playerid, DERBYVEHICLEID, 0);
return 1;
}