[Ajuda] Comando Hospitalizados
#1

Eu estou usando o Sistema de Hospital do Rodney e adicionei o seguinte comando:

PHP код:
CMD:hospitalizados(playerid)
    {
        if(
IsPlayerConnected(playerid))
        {
            
SendClientMessage(playerid0xFFFFFFAA"|______________[ Hospitalizados ]______________|");
            for(new 
0MAX_PLAYERSi++)
            {
                if(
IsPlayerConnected(i))
                {
                    if(
PlayerInfo[i] > && PlayerInfo[i][TempoHospital] > 0//LINHA 160
                    
{
                        if(
storeexit[i] == 1)
                        {
                            
GetPlayerName(isendernamesizeof(sendername));
                            
format(string128"Hospitalizado %s [Tempo: %d seg] {FFFFFF}(Hosp. de Los Santos)",  sendernamePlayerInfo[i][TempoHospital]);
                              
SendClientMessage(playeridCOLOR_GRAD2string);
                        }
                    }
                }
            }
        }
        return 
true;
    } 
e estб dando os seguintes erros...

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.
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?!
Reply


Messages In This Thread
Comando Hospitalizados - by jefrens - 28.03.2015, 02:17
Re: Comando Hospitalizados - by DiegoLeo - 28.03.2015, 04:01
Re: Comando Hospitalizados - by ipsLuan - 28.03.2015, 05:21
Re: Comando Hospitalizados - by jefrens - 28.03.2015, 05:43
Re: Comando Hospitalizados - by ipsLuan - 28.03.2015, 05:53
Re: Comando Hospitalizados - by jefrens - 28.03.2015, 14:25
Re: Comando Hospitalizados - by ipsLuan - 28.03.2015, 14:40
Re: Comando Hospitalizados - by Lуs - 28.03.2015, 14:49

Forum Jump:


Users browsing this thread: 2 Guest(s)