destroycar cmd?
#2

you mean somthing like this?
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_ONFOOT && oldstate == PLAYER_STATE_DRIVER)
    {
    new vid = GetPlayerVehicleID(playerid);
    SetTimerEx("destroy", 15000, false, "d", vid);
    }
    return 1;
}

forward destroy(vid);
public destroy(vid)
{
    DestroyVehicle(vid);
    return 1;
}
Reply


Messages In This Thread
destroycar cmd? - by sanrock - 02.06.2012, 01:12
Re: destroycar cmd? - by Flake. - 02.06.2012, 01:20

Forum Jump:


Users browsing this thread: 1 Guest(s)