if(!strcmp(cmdtext,"/test",true)) { if(!IsPlayerInAnyVehicle(playerid))return SetPlayerPos(...); else return SetVehiclePos(GetPlayerVehicleID(playerid),...); }