Help in Durby DeathMatch Vehicles [+rep]
#2

This should work, I guess.

PHP код:
forward DestoryVeh(playerid);
public 
DestoryVeh(playerid)
{
    
DestroyVehicle(GetPlayerVehicleID(playerid));
    return 
1;
}
public 
OnPlayerStateChangeplayeridnewstateoldstate )
{
    if(
VDMS[playerid] == 1)
    {
        if(
oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_WASTED )
        {
            
SetTimerEx("DestroyVeh"1000false"i"playerid);
        }
    }
    return 
1;

Reply


Messages In This Thread
Help in Durby DeathMatch Vehicles [+rep] - by Aldrago - 10.06.2017, 13:35
Re: Help in Durby DeathMatch Vehicles [+rep] - by Zmith - 10.06.2017, 14:47
Re: Help in Durby DeathMatch Vehicles [+rep] - by Aldrago - 10.06.2017, 15:00
Re: Help in Durby DeathMatch Vehicles [+rep] - by Zmith - 10.06.2017, 15:07
Re: Help in Durby DeathMatch Vehicles [+rep] - by Aldrago - 10.06.2017, 15:39

Forum Jump:


Users browsing this thread: 2 Guest(s)