20.01.2015, 04:43
Код:
if(newstate == PLAYER_STATE_DRIVER) return GetPlayerVehicleID(playerid); if(newstate == PLAYER_STATE_ONFOOT && oldstate == PLAYER_STATE_DRIVER) { for(new passengerid = 0; passengerid < MAX_PLAYERS; passengerid++) { if(IsPlayerConnected(passengerid) && GetPlayerVehicleID(passengerid) == GetPlayerVehicleID(playerid)) { RemovePlayerFromVehicle(passengerid); SendClientMessage(passengerid, 0xFF0000FF, "The driver is leaving the vehicle!"); } } return 1; } Hello I've problem with this code ,I'm using Anti G abuse script the script work fine when driver not in vehicle but it not work fine when driver leave vehicle ..How i can Fix it ?