Quote:
Originally Posted by n0minal
It can be optimized a lot...
Logical:
Код:
IsPlayerInAnyVehicle(playerid) || newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER
If player is in any vehicle, why check if he's a passenger or a driver? Good job anyways.
|
Because in some hacks if a normal player driving and the hacker warped to him he will be a passenger not a driver.