Setare viteza
#9

Код:
public OnPlayerUpdate(playerid)
{
    if(IsPlayerInCheckpoint(playerid) && bSpeedFrozen[playerid] && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
        SetVehicleVelocity(GetPlayerVehicleID(playerid), 0.0, 0.0, 0.0);
}
Unde bSpeedFrozen spune daca masina ar trebui sa fie blocata sau nu.
Reply


Messages In This Thread
Setare viteza - by xXLucianXx - 17.06.2016, 12:33
Re: Setare viteza - by HeLiOn_PrImE - 17.06.2016, 12:50
Re: Setare viteza - by xXLucianXx - 17.06.2016, 13:27
Re: Setare viteza - by xXLucianXx - 17.06.2016, 13:43
Re: Setare viteza - by shiftlol - 17.06.2016, 15:31
Re: Setare viteza - by xXLucianXx - 17.06.2016, 18:45
Re: Setare viteza - by HeLiOn_PrImE - 17.06.2016, 21:17
Re: Setare viteza - by shiftlol - 18.06.2016, 05:55
Re: Setare viteza - by Spmn - 18.06.2016, 20:14

Forum Jump:


Users browsing this thread: 5 Guest(s)