Destroycars
#3

Quote:
Originally Posted by newbie scripter
Посмотреть сообщение
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(oldstate == PLAYER_STATE_DRIVER)
    {
         SetTimerEx("delcar", 15000, 0, "i", vehicleid);
    }
    return 1;
}
Thanks can i do like that:-
Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(oldstate == PLAYER_STATE_DRIVER)
    {
         SetTimerEx("delcar", 15000, 0, "i", vehicleid);
    }
    return 1;
}
forward delcar(vehicleid);
public delcar(vehicleid)
{
DestroyVehicle(vehicleid);
return 1;
}
Reply


Messages In This Thread
Destroycars - by MahdiGames - 10.01.2014, 13:09
Re: Destroycars - by newbie scripter - 10.01.2014, 13:17
Re: Destroycars - by MahdiGames - 10.01.2014, 13:21
Re: Destroycars - by amirab - 10.01.2014, 13:52
Re: Destroycars - by MahdiGames - 10.01.2014, 14:22

Forum Jump:


Users browsing this thread: 1 Guest(s)