Вопрос насчёт спавна тачки
#9

я решил вопрос по другому
Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER)
    {
        new caridi = GetPlayerVehicleID(playerid);
        pltaxi[playerid] = caridi;
    }
    if(newstate == PLAYER_STATE_ONFOOT)
    {
        SetVehicleToRespawn(pltaxi[playerid]);
        pltaxi[playerid] = -1;
    }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)