26.06.2017, 12:23
Porque Este Comando Me Da Warning Justo En esta Parte for (new i; i < 2000; i++)
Quote:
COMMAND:repairall(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < MAX_NIVEL_ADMIN && PlayerInfo[playerid][pVIP] < MAX_NIVEL_VIP ) return SendClientMessage(playerid, COLOR_ROJO, "ERROR:No Tienes Permiso Para Usar Este Comando"); // Loop through all vehicles for (new i; i < 2000; i++) RepairVehicle(i); // Fully repair the vehicle (damage value and bodywork) // Send all players a message to inform them that all vehicles have been repaired SendClientMessageToAll(0x00FF00FF, "Todos los vehiculos fueron reparados por un admin"); return true; } |