if(strcmp("/respawnallcars", cmdtext, true) == 0){ if(IsPlayerAdmin(playerid)) { for(new i = 1; i <= MAX_VEHICLES; i++) { SetVehicleToRespawn(i); } SendClientMessage(playerid, COLOR_GREEN, "You have respawned all vehicles."); } else { SendClientMessage(playerid, COLOR_RED, "You are not an admin."); } return 1;}