[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
#2

Linha do erro... cуdigos da linha do erro...?
Reply
#3

PHP код:
new iFake[MAX_PLAYERS]; 
Reply
#4

Linha anterior a isso...
Reply
#5

Resolvido ja
Reply
#6

hueeeee
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)