27.05.2014, 13:03
·Buenas, me saltan estos errores con el siguiente comando:
·Comando:
їPodrian decirme el Error? Gracias desde ya.
att. AlexJuanpere
Код HTML:
C:\Documents and Settings\ramon\Escritorio\Servidor SAMP\gamemodes\SFRPEspaсa.pwn(383) : error 017: undefined symbol "Info" C:\Documents and Settings\ramon\Escritorio\Servidor SAMP\gamemodes\SFRPEspaсa.pwn(383) : warning 215: expression has no effect C:\Documents and Settings\ramon\Escritorio\Servidor SAMP\gamemodes\SFRPEspaсa.pwn(383) : error 001: expected token: ";", but found "]" C:\Documents and Settings\ramon\Escritorio\Servidor SAMP\gamemodes\SFRPEspaсa.pwn(383) : error 029: invalid expression, assumed zero C:\Documents and Settings\ramon\Escritorio\Servidor SAMP\gamemodes\SFRPEspaсa.pwn(383) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код HTML:
CMD:rvehiculos(playerid, params[])
{
new string[80];
new Nombre[MAX_PLAYER_NAME];
GetPlayerName(playerid, Nombre, sizeof(Nombre));
if(Info[playerid][pAdminZC] < 2) return SendClientMessageEx(playerid, 0xFF0000FF, "[ERROR]:ЎNo estбs autorizado para usar este comando!");
if(!IsPlayerConnected(playerid)) return SendClientMessageEx(playerid, 0xFF0000FF, "[ERROR]:ЎNo estбs conectado!");
if(IsPlayerConnected(playerid))
{
new bool:unwanted[MAX_VEHICLES];
for(new player=0; player<MAX_PLAYERS; player++)
{
if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
}
for(new car = 0; car <= VV; car++) /* ї 0 ?, la ID 0 no existe .... */
{
if(!unwanted[car]) SetVehicleToRespawn(car);
}
format(string, sizeof(string), "[SERVIDOR]: Todos los coches no usados fueron respawneados por %s.", Nombre);
SendClientMessageToAll(0xFF7E00FF,string);
}
return 1;
}
att. AlexJuanpere


