15.12.2013, 16:42
Title I have tried couple ways to check the current vehicle driver heres the code
So for some reason it doesn't work please help
Код:
stock GetVehicleDriver(playerid) { new veh = GetPlayerVehicleID(playerid); for(new i = 0;i<MAX_PLAYERS;i++) if(GetPlayerVehicleID(i) == veh && GetPlayerVehicleSeat(i) == 0 && i != playerid) { return i; } return 0; }