SA-MP Forums Archive
2 Errors :P - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 2 Errors :P (/showthread.php?tid=298542)



2 Errors :P - dorperez - 21.11.2011

Hey guys

I got 2 Errors

pawn Код:
C:\GTA - San Andreas\Server\gamemodes\Rp11Back.pwn(56941) : error 010: invalid function or declaration
C:\GTA - San Andreas\Server\gamemodes\Rp11Back.pwn(56943) : error 054: unmatched closing brace ("}")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

pawn Код:
Timer:MainMenuUpdate[10000] // 56941
    }
    foreach(Player, i) // 56943
    {
        if(PlayersConnected > 490)
        {
            if(playerTabbedTime[i] > 60 && PlayerInfo[i][pShopTech] < 1 && PlayerInfo[i][pAdmin] < 4)
            {
                Kick(i);
            }
            else if(playerAFK[i] != 0 && playerAFKTime[i] > 300 && PlayerInfo[i][pShopTech] < 1 && PlayerInfo[i][pAdmin] < 4)
            {
                Kick(i);
            }
        }



Re: 2 Errors :P - =WoR=G4M3Ov3r - 21.11.2011

Show us the lines.


Re: 2 Errors :P - dorperez - 21.11.2011

Edited


Re: 2 Errors :P - =WoR=G4M3Ov3r - 21.11.2011

PHP код:
Timer:MainMenuUpdate[10000]() // 56941
{
    foreach(
Playeri// 56943
    
{
        if(
PlayersConnected 490)
        {
            if(
playerTabbedTime[i] > 60 && PlayerInfo[i][pShopTech] < && PlayerInfo[i][pAdmin] < 4)
            {
                
Kick(i);
            }
            else if(
playerAFK[i] != && playerAFKTime[i] > 300 && PlayerInfo[i][pShopTech] < && PlayerInfo[i][pAdmin] < 4)
            {
                
Kick(i);
            }
        }