if (strcmp("/teleport", cmdtext, true, 9) == 0){ if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { new car; car = GetPlayerVehicleID(playerid); SetVehiclePos(car,X,Y,Z); } else { SetPlayerPos(playerid,X,Y,Z); } return 1;}