Check if a player is inside any vehicle (as a driver or passenger).
|playerid||The ID of the player to check.|
1: The player is in a vehicle.
0: The player is not in a vehicle.
public OnPlayerCommandText(playerid, cmdtext)
if (strcmp(cmdtext, "/invehicle", true) == 0)
SendClientMessage(playerid, 0x00FF00AA, "You're in a vehicle.");