Command For Warchiefs:
[pawn]else if (strcmp(cmd, "!eject", true) == 0) {
if (IsPlayerInfo(playerid,cmd)) return 0;
else if (GetPlayerSpawn(playerid) == 0) MessagePM(playerid, GREEN,"Error : You Aren't Spawned");
else if(!IsPlayerInAnyVehicle(playerid)) MessagePM(playerid, GREEN,"Error: Need to be inside a vehicle");
else {
RemovePlayerFromVehicle(playerid);
}
return 1;
}[/pawn]