04.05.2013, 12:49
I wrote wrong name in the prototype... Sorry again lol
My function is a lot simpler and works properly:
That operator is just short version of if/else
My function is a lot simpler and works properly:
Код:
public bool:CheckDriver(playerid) { return ( IsPlayerInAnyVehicle(GetPlayerVehicleID(playerid)) ) && ( GetPlayerState(playerid) == PLAYER_STATE_DRIVER ); }