13.04.2014, 21:19
Eu fiz isso:
Mas continua sem funcionar... o player saн do veнculo e nгo volta entrar...
Mas continua sem funcionar... o player saн do veнculo e nгo volta entrar...
Код:
new vehicleseat[MAX_PLAYERS]; new veiculoid[MAX_PLAYERS]; if(newstate == PLAYER_STATE_PASSENGER && oldstate == PLAYER_STATE_ONFOOT) { vehicleseat[playerid] = GetPlayerVehicleSeat(playerid); veiculoid[playerid] = GetPlayerVehicleID(playerid); } public OnPlayerExitVehicle(playerid, vehicleid) { if (GetPlayerState(playerid) == 1) { return true; } if(PlayerCuffed[playerid] == 1) { PutPlayerInVehicle(playerid, veiculoid[playerid], vehicleseat[playerid]); }