if(IsPlayerInAnyVehicle(i))
if(IsPlayerInAnyVehicle(playerid))
for (i=0;i<MAX_PLAYERS;i++)
https://sampforum.blast.hk/showthread.php?tid=592022