28.03.2015, 02:17
Eu estou usando o Sistema de Hospital do Rodney e adicionei o seguinte comando:
e estб dando os seguintes erros...
alguйm poderia me ajudar? :$
OBS: Se for possнvel alguйm pode criar o comando /hospitalizados pra eu por no sistema de hospital dele?!
PHP код:
CMD:hospitalizados(playerid)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, 0xFFFFFFAA, "|______________[ Hospitalizados ]______________|");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i] > 0 && PlayerInfo[i][TempoHospital] > 0) //LINHA 160
{
if(storeexit[i] == 1)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string, 128, "Hospitalizado %s [Tempo: %d seg] {FFFFFF}(Hosp. de Los Santos)", sendername, PlayerInfo[i][TempoHospital]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
}
}
}
}
return true;
}
pawn Код:
C:\Users\Jeferson\Desktop\Game Of Style\filterscripts\hosp.pwn(160) : error 001: expected token: ")", but found "["
C:\Users\Jeferson\Desktop\Game Of Style\filterscripts\hosp.pwn(160) : error 029: invalid expression, assumed zero
C:\Users\Jeferson\Desktop\Game Of Style\filterscripts\hosp.pwn(160) : warning 215: expression has no effect
C:\Users\Jeferson\Desktop\Game Of Style\filterscripts\hosp.pwn(160) : error 001: expected token: ";", but found "]"
C:\Users\Jeferson\Desktop\Game Of Style\filterscripts\hosp.pwn(160) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
OBS: Se for possнvel alguйm pode criar o comando /hospitalizados pra eu por no sistema de hospital dele?!