12.11.2014, 09:05
Quote:
Would this work also in OnPlayerExitVehicle.
Код:
for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(IsPlayerInVehicle(i, vehicleid)) { if(GetPlayerState(i) != PLAYER_STATE_DRIVER) { return 1; } } } } |
And it may work, yes... But the one that @Ballu Miaa stated is more efficient