[Ajuda] com erro expected token: "]", but found "new"
#1

Bom primeiro bom dia boa noite boa tarde alquem poderia me ajudar com esse erro:expected token: "]", but found "new"
PHP код:
new iFake[MAX_PLAYERS];
new 
Float:xPos,Float:yPos,Float:zPos;
    
GetPlayerPos(playerid,xPos,yPos,zPos);
    if(
gPlayerUsingLoopingAnim[playerid])
    {
        
gPlayerUsingLoopingAnim[playerid] = 0;
        
TextDrawHideForPlayer(playerid,txtAnimHelper);
    }
    if(
IsPlayerInRangeOfPoint(killerid,25.0,xPos,yPos,zPos))
    {
        if(
GetTickCount() - iFake[playerid] <= 2000)
        {
            ++
iKills[playerid];
            if(
iKills[playerid] > 3)
            {
                
iKills[playerid] = 0;
                
CallLocalFunction("OnPlayerFakeKill","i",playerid);
            }
        }
    }
    
HidePlayerArrow(playerid);
    
iFake[playerid] = GetTickCount();
    print(
"all2");
    return 
1;

Reply


Messages In This Thread
com erro expected token: "]", but found "new" - by henriqueTL - 29.11.2016, 10:56
Re: com erro expected token: "]", but found "new" - by n0minal - 29.11.2016, 10:57
Re: com erro expected token: "]", but found "new" - by henriqueTL - 29.11.2016, 11:20
Re: com erro expected token: "]", but found "new" - by n0minal - 29.11.2016, 12:10
Re: com erro expected token: "]", but found "new" - by henriqueTL - 29.11.2016, 12:59
Re: com erro expected token: "]", but found "new" - by klap - 30.11.2016, 11:24

Forum Jump:


Users browsing this thread: 1 Guest(s)