Please Help Me.
#1

Okay Im Creating Dynamic Faction Script With djson.
I keep getting errors.

Code:
pawn Код:
//Includes /////////////////////////////////////////////////////////////////////
#include <a_samp>
#include <djson>
#include <zcmd>
//Defines///////////////////////////////////////////////////////////////////////
#define COLOR_WHITE         0xFFFFFFFF
#define FACTIONS_FILE       "Factions"
#define MAX_GROUPS
#if defined FILTERSCRIPT

enum fInfo
{
    fFactionName[128],
    fCommandsType,
    fRank1[128],
    fRank2[128],
    fRank3[128],
    fRank4[128],
    fRank5[128],
    fRank6[128],
    fSkin1,
    fSkin2,
    fSkin3,
    fSkin4,
    fSkin5,
    fSkin6,
    Float:fX,
    Float:fY,
    Float:fZ,
    fInterior
}
new FactionInfo[MAX_GROUPS][fInfo];

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

#else

main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
    // Don't use these lines if it's a filterscript
    SetGameModeText("Blank Script");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    if(!fexist(FACTIONS_FILE))
        {
            print("ERROR: No Faction File Found! Creating New File");
            fcreate(FACTIONS_FILE);
            new commandtype, name, skin1, skin2, skin3, skin4, skin5, skin6, Float:x, Float:y, Float:z, interior;
            PrepareFactionsFile(commandtype, name, skin1, skin2, skin3, skin4, skin5, skin6, Float:x, Float:y, Float:z, interior);
        }
    return 1;
}

public OnGameModeExit()
{
    return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
}

public OnPlayerConnect(playerid)
{
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    return 1;
}

public OnPlayerSpawn(playerid)
{
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    return 1;
}

public OnVehicleSpawn(vehicleid)
{
    return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
    return 1;
}

public OnPlayerText(playerid, text[])
{
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
        // Do something here
        return 1;
    }
    return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
    return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
    return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
    return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
    return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
    return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
    return 1;
}

public OnRconCommand(cmd[])
{
    return 1;
}

public OnPlayerRequestSpawn(playerid)
{
    return 1;
}

public OnObjectMoved(objectid)
{
    return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
    return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
    return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
    return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
    return 1;
}

public OnPlayerExitedMenu(playerid)
{
    return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
    return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
    return 1;
}

public OnPlayerUpdate(playerid)
{
    return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
    return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
    return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
    return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
    return 1;
}

forward PrepareFactionsFile(commandtpye, name, skin1, skin2, skin3, skin4, skin5, skin6, Float:x, Float:y, Float:z, interior);
public PrepareFactionsFile(commandtpye, name, skin1, skin2, skin3, skin4, skin5, skin6, Float:x, Float:y, Float:z, interior);
{
    new loopstring[128], otherstring[128];
    new i = 0;
    while(i <= MAX_GROUPS)
    {
        i++;
        format(loopstring, sizeof(loopstring),"Faction_%d",i);
        format(otherstring, sizeof(otherstring),"Faction_%d/FactionName",i);    djSet(FACTIONS_FILE,otherstring,"None",true);
        format(otherstring, sizeof(otherstring),"Faction_%d/CommandsType",i);   djSetInt(FACTIONS_FILE,otherstring,commandtype,true)
        format(otherstring, sizeof(otherstring),"Faction_%d/Rank1",i);  djSet(FACTIONS_FILE,otherstring,"None",true);
        format(otherstring, sizeof(otherstring),"Faction_%d/Rank2",i);  djSet(FACTIONS_FILE,otherstring,"None",true);
        format(otherstring, sizeof(otherstring),"Faction_%d/Rank3",i);  djSet(FACTIONS_FILE,otherstring,"None",true);
        format(otherstring, sizeof(otherstring),"Faction_%d/Rank4",i);  djSet(FACTIONS_FILE,otherstring,"None",true);
        format(otherstring, sizeof(otherstring),"Faction_%d/Rank5",i);  djSet(FACTIONS_FILE,otherstring,"None",true);
        format(otherstring, sizeof(otherstring),"Faction_%d/Rank6",i);  djSet(FACTIONS_FILE,otherstring,"None",true);
        format(otherstring, sizeof(otherstring),"Faction_%d/Skin1",i);  djSetInt(FACTIONS_FILE,otherstring,skin1,true);
        format(otherstring, sizeof(otherstring),"Faction_%d/Skin2",i);  djSetInt(FACTIONS_FILE,otherstring,skin2,true);
        format(otherstring, sizeof(otherstring),"Faction_%d/Skin3",i);  djSetInt(FACTIONS_FILE,otherstring,skin3,true);
        format(otherstring, sizeof(otherstring),"Faction_%d/Skin4",i);  djSetInt(FACTIONS_FILE,otherstring,skin4,true);
        format(otherstring, sizeof(otherstring),"Faction_%d/Skin5",i);  djSetInt(FACTIONS_FILE,otherstring,skin5,true);
        format(otherstring, sizeof(otherstring),"Faction_%d/Skin6",i);  djSetInt(FACTIONS_FILE,otherstring,skin6,true);
        format(otherstring, sizeof(otherstring),"Faction_%d/X",i);  djSetFloat(FACTIONS_FILE,otherstring,x,true);
        format(otherstring, sizeof(otherstring),"Faction_%d/Y",i);  djSetFloat(FACTIONS_FILE,otherstring,y,true);
        format(otherstring, sizeof(otherstring),"Faction_%d/Z",i);  djSetFloat(FACTIONS_FILE,otherstring,z,true);
        format(otherstring, sizeof(otherstring),"Faction_%d/Interior",i);   djSetInt(FACTIONS_FILE,otherstring,interior,true);
        djCommit(FACTIONS_FILE);
        LoadFactions();



forward LoadFactions();
public LoadFactions()
{
    new string[128], otherstring[128];
    new i = 0;
    while(i <= MAX_GROUPS)
    {
        i++;
        format(string, sizeof(string),"Faction_%d",i);
        if(djIsSet(FACTIONS_FILE, string))
        {
            new factionname[128], rankname1[128],rankname2[128],rankname3[128],rankname4[128],rankname5[128],rankname6[128];
            format(otherstring, sizeof(otherstring),"Faction_%d/FactionName",i); format(factionname,sizeof(factionname),"%s", dj(FACTIONS_FILE, otherstring));
            format(otherstring, sizeof(otherstring),"Faction_%d/CommandsType",i); FactionInfo[i][fCommandsType] = djInt(FACTIONS_FILE, otherstring);
            format(otherstring, sizeof(otherstring),"Faction_%d/Rank1",i); format(rankname1,sizeof(rankname1),"%s", dj(FACTIONS_FILE, otherstring));
            format(otherstring, sizeof(otherstring),"Faction_%d/Rank2",i); format(rankname2,sizeof(rankname2),"%s", dj(FACTIONS_FILE, otherstring));
            format(otherstring, sizeof(otherstring),"Faction_%d/Rank3",i); format(rankname3,sizeof(rankname3),"%s", dj(FACTIONS_FILE, otherstring));
            format(otherstring, sizeof(otherstring),"Faction_%d/Rank4",i); format(rankname4,sizeof(rankname4),"%s", dj(FACTIONS_FILE, otherstring));
            format(otherstring, sizeof(otherstring),"Faction_%d/Rank5",i); format(rankname5,sizeof(rankname5),"%s", dj(FACTIONS_FILE, otherstring));
            format(otherstring, sizeof(otherstring),"Faction_%d/Rank6",i); format(rankname6,sizeof(rankname6),"%s", dj(FACTIONS_FILE, otherstring));
            format(otherstring, sizeof(otherstring),"Faction_%d/Skin1",i); FactionInfo[i][fSkin1] = djInt(FACTIONS_FILE, otherstring);
            format(otherstring, sizeof(otherstring),"Faction_%d/Skin2",i); FactionInfo[i][fSkin2] = djInt(FACTIONS_FILE, otherstring);
            format(otherstring, sizeof(otherstring),"Faction_%d/Skin3",i); FactionInfo[i][fSkin3] = djInt(FACTIONS_FILE, otherstring);
            format(otherstring, sizeof(otherstring),"Faction_%d/Skin4",i); FactionInfo[i][fSkin4] = djInt(FACTIONS_FILE, otherstring);
            format(otherstring, sizeof(otherstring),"Faction_%d/Skin5",i); FactionInfo[i][fSkin5] = djInt(FACTIONS_FILE, otherstring);
            format(otherstring, sizeof(otherstring),"Faction_%d/Skin6",i); FactionInfo[i][fSkin6] = djInt(FACTIONS_FILE, otherstring);
            format(otherstring, sizeof(otherstring),"Faction_%d/X",i); FactionInfo[i][fX] = djFloat(FACTIONS_FILE, otherstring);
            format(otherstring, sizeof(otherstring),"Faction_%d/Y",i); FactionInfo[i][fY] = djFloat(FACTIONS_FILE, otherstring);
            format(otherstring, sizeof(otherstring),"Faction_%d/Z",i); FactionInfo[i][fZ] = djFloat(FACTIONS_FILE, otherstring);
            format(otherstring, sizeof(otherstring),"Faction_%d/Interior",i); FactionInfo[i][fInterior] = djInt(FACTIONS_FILE, otherstring);
            FactionInfo[i][fFactionName] = factionname;
            FactionInfo[i][fRank1] = rankname1;
            FactionInfo[i][fRank2] = rankname2;
            FactionInfo[i][fRank3] = rankname3;
            FactionInfo[i][fRank4] = rankname4;
            FactionInfo[i][fRank5] = rankname5;
            FactionInfo[i][fRank6] = rankname6;
        }
    }
    return 1;
}

COMMAND:afaction(playerid, params[])
{
    new cmd[128], string[128], otherstring[128], factionid;
    if(IsPlayerAdmin(playerid))
    {
        if(sscanf(params, "s", cmd) != 0)
        {
            return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /afaction <name | commands | ranks | skins | spawn>");
        }
        if(strcmp("name", cmd, true, 4) == 0)
        {
            new name[128];
            if(!sscanf(params, "sds", cmd, factionid, name))
            {
                if(factionid >= 1 && factionid <=20)
                {
                    new str[128];
                    format(otherstring, sizeof(otherstring),"Faction_%d/FactionName",factionid); format(string, sizeof(string), "%s", name);    djSet(FACTIONS_FILE,otherstring,string,true);
                    djCommit(FACTIONS_FILE);
                    format(str, sizeof(str), "You changed faction [%d] name to %s", factionid, string);
                    SendClientMessage(playerid, COLOR_WHITE, str);
                }
                else return SendClientMessage(playerid, COLOR_WHITE, "Choose faction id between 1 and 20!");
            }
            else return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /afaction name <id> <name>");
        }
        if(strcmp("commands", cmd, true, 8) == 0)
        {
            new commandtype;
            if(!sscanf(params, "sdd", cmd, factionid, commandtype))
            {
                new str[128];
                format(otherstring, sizeof(otherstring),"Faction_%d/CommandsType",factionid);   djSetInt(FACTIONS_FILE,otherstring,commandtype,true);
                djCommit(FACTIONS_FILE);
                format(str, sizeof(str), "You changed faction [%d] vommand type to [%d]", factionid, commandtype);
                SendClientMessage(playerid, COLOR_WHITE, str);
            }
            else return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /afaction commands <id> <command type>");
        }
        if(strcmp("ranks", cmd, true, 5) == 0)
        {
            new rank, rankname[128];
            if(!sscanf(params, "sdds", cmd, factionid, rank, rankname))
            {
                new str[128];
                format(otherstring, sizeof(otherstring),"Faction_%d/Rank%d",factionid, rank); format(string, sizeof(string), "%s", rankname);   djSet(FACTIONS_FILE,otherstring,string,true);
                djCommit(FACTIONS_FILE);
                format(str, sizeof(str), "You changed faction [%d] rank%d name to %s.", factionid, rank,  string);
                SendClientMessage(playerid, COLOR_WHITE, str);
            }
            else return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /afaction ranks <id> <rank id> <rank name>");
        }
        if(strcmp("skins", cmd, true, 5) == 0)
        {
            new slotid, skinid;
            if(!sscanf(params, "sddd", cmd, factionid, slotid, skinid))
            {
                new str[128];
                format(otherstring, sizeof(otherstring),"Faction_%d/Skin%d",factionid, slotid); djSetInt(FACTIONS_FILE,otherstring,skinid,true);
                djCommit(FACTIONS_FILE);
                format(str, sizeof(str), "You changed faction [%d] skin%d to %d", factionid, slotid, skinid);
                SendClientMessage(playerid, COLOR_WHITE, str);
            }
            else return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /afaction skins <id> <slot id> <skinid>");
        }
        if(strcmp("spawn", cmd, true, 5) == 0)
        {
            if(!sscanf(params, "sd", cmd, factionid))
            {
                new str[128], Float:x, Float:y, Float:z;
                GetPlayerPos(playerid, x, y, z);
                format(otherstring, sizeof(otherstring),"Faction_%d/X",factionid);  djSetFloat(FACTIONS_FILE,otherstring,x,true);
                format(otherstring, sizeof(otherstring),"Faction_%d/Y",factionid);  djSetFloat(FACTIONS_FILE,otherstring,y,true);
                format(otherstring, sizeof(otherstring),"Faction_%d/Z",factionid);  djSetFloat(FACTIONS_FILE,otherstring,z,true);
                format(otherstring, sizeof(otherstring),"Faction_%d/Interior",factionid);   djSetInt(FACTIONS_FILE,otherstring,GetPlayerInterior(playerid),true);
                djCommit(FACTIONS_FILE);
                format(str, sizeof(str), "You changed faction [%d] spawn to %f %f %f and %d interior.", factionid, x, y, z, GetPlayerInterior(playerid));
                SendClientMessage(playerid, COLOR_WHITE, str);
            }
            else return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /afaction spawn <id>");
        }
    }
    return 1;
}

COMMAND:setrank(playerid, params[])
{
    new giveplayerid, rank;
    if(PlayerInfo[playerid][pFactionRank] == 1)
    {
        if(sscanf(params, "dd", giveplayerid, rank))
        {
            if(giveplayerid != INVALID_PLAYER_ID)
            {
                if(PlayerInfo[playerid][pFaction] == PlayerInfo[giveplayerid][pFaction])
                {
                    new str[128], str2[128];
                    PlayerInfo[giveplayerid][pFactionRank] = rank;
                    format(str, sizeof(str), "%s gived you rank %d.", GetName(playerid), rank);
                    format(str2, sizeof(str2), "You are now rank %d", rank);
                    SendClientMessage(giveplayerid, COLOR_WHITE, str2);
                    SendClientMessage(playerid, COLOR_WHITE, str);
                }
                else SendClientMessage(playerid, COLOR_WHITE, "ERROR: This player is not in your faction!");
            }
            else SendClientMessage(playerid, COLOR_WHITE, "ERROR: There's no player with that ID!");
        }
        else SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setrank <player id> <rank>");
    }
    else SendClientMessage(playerid, COLOR_WHITE, "ERROR: You aren't a leader!");
}
COMMAND:factionkick(playerid, params[])
{
    new giveplayerid;
    if(PlayerInfo[playerid][pFactionRank] == 1)
    {
        if(sscanf(params, "d", giveplayerid))
        {
            if(giveplayerid != INVALID_PLAYER_ID)
            {
                if(PlayerInfo[playerid][pFaction] == PlayerInfo[giveplayerid][pFaction])
                {
                    new str[128], str2[128];
                    PlayerInfo[giveplayerid][pFaction] = 0;
                    PlayerInfo[giveplayerid][pFactionRank] = 0;
                    SpawnPlayer(giveplayerid);
                    format(str, sizeof(str), "%s kicked you from his faction", GetName(playerid));
                    format(str2, sizeof(str2), "You kicked %s from your faction", GetName(giveplayerid));
                    SendClientMessage(giveplayerid, COLOR_WHITE, str2);
                    SendClientMessage(playerid, COLOR_WHITE, str);
                }
                else SendClientMessage(playerid, COLOR_WHITE, "ERROR: This player is not in your faction!");
            }
            else SendClientMessage(playerid, COLOR_WHITE, "ERROR: There's no player with that ID!");
        }
        else SendClientMessage(playerid, COLOR_WHITE, "USAGE: /factionkick <player id>");
    }
    else SendClientMessage(playerid, COLOR_WHITE, "ERROR: You aren't a leader!");
}
COMMAND:invite(playerid, params[])
{
    new giveplayerid;
    if(PlayerInfo[playerid][pFactionRank] == 1)
    {
        if(sscanf(params, "d", giveplayerid))
        {
            if(giveplayerid != INVALID_PLAYER_ID)
            {
                new str[128], str2[128];
                PlayerInfo[giveplayerid][pFaction] = PlayerInfo[playerid][pFaction];
                PlayerInfo[giveplayerid][pFactionRank] = 6;
                PlayerInfo[giveplayerid][pFactionSkin] = FactionInfo[PlayerInfo[playerid][pFaction]][fSkin1];
                ShowMenuForPlayer(przebieralniafrakcji, giveplayerid);
                format(str, sizeof(str), "%s invited you to his faction", GetName(playerid));
                format(str2, sizeof(str2), "You invited %s to your faction", GetName(giveplayerid));
                SendClientMessage(giveplayerid, COLOR_WHITE, str2);
                SendClientMessage(playerid, COLOR_WHITE, str);
            }
            else SendClientMessage(playerid, COLOR_WHITE, "ERROR: This player is not in your faction!");
        }
        else SendClientMessage(playerid, COLOR_WHITE, "USAGE: /invite <player id>");
    }
    else SendClientMessage(playerid, COLOR_WHITE, "ERROR: You aren't a leader!");
    return 1;
}
COMMAND:setleader(playerid, params[])
{
    new giveplayerid, factionid;
    if(IsPlayerAdmin(playerid))
    {
        if(sscanf(params, "dd", giveplayerid, factionid))
        {
            if(PlayerInfo[giveplayerid][pFaction] != 0)
            {
                if(factionid >= 1 && factionid <= 20)
                {
                    new str[128], str2[128];
                    PlayerInfo[giveplayerid][pFaction] = factionid;
                    PlayerInfo[giveplayerid][pFactionRank] = 1;
                    PlayerInfo[giveplayerid][pFactionSkin] = FactionInfo[factionid][fSkin1];
                    ShowMenuForPlayer(przebieralniafrakcji, giveplayerid);
                    format(str, sizeof(str), "Admin %s has given you controll of faction %d", GetName(playerid), factionid);
                    format(str2, sizeof(str2), "You have given faction %d leader to %s", factionid, GetName(giveplayerid));
                    SendClientMessage(giveplayerid, COLOR_WHITE, str2);
                    SendClientMessage(playerid, COLOR_WHITE, str);
                }
                else SendClientMessage(playerid, COLOR_WHITE, "Faction ID must be between 1 and 20!");
            }
            else SendClientMessage(playerid, COLOR_WHITE, "This player is already in a faction!");
        }
        else SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setleader <playerid> <faction id>");
    }
    else SendClientMessage(playerid, COLOR_WHITE, "ERROR: You can't do it!");
    return 1;
}
Errors:
pawn Код:
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\pawno\include\djson.inc(97) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\pawno\include\djson.inc(116) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\pawno\include\djson.inc(230) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\pawno\include\djson.inc(257) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\pawno\include\djson.inc(438) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\pawno\include\djson.inc(1150) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Faction Gamemode Test.pwn(66) : error 017: undefined symbol "fcreate"
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Faction Gamemode Test.pwn(68) : error 004: function "PrepareFactionsFile" is not implemented
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Faction Gamemode Test.pwn(268) : error 055: start of function body without function header
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Faction Gamemode Test.pwn(271) : error 010: invalid function or declaration
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Faction Gamemode Test.pwn(293) : error 021: symbol already defined: "djCommit"
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Faction Gamemode Test.pwn(301) : warning 219: local variable "otherstring" shadows a variable at a preceding level
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Faction Gamemode Test.pwn(302) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Faction Gamemode Test.pwn(303) : error 029: invalid expression, assumed zero
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Faction Gamemode Test.pwn(311) : error 017: undefined symbol "FactionInfo"
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Faction Gamemode Test.pwn(311) : warning 215: expression has no effect
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Faction Gamemode Test.pwn(311) : error 001: expected token: ";", but found "]"
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Faction Gamemode Test.pwn(311) : error 029: invalid expression, assumed zero
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Faction Gamemode Test.pwn(311) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


10 Errors.
How To Fix These


and other script:

pawn Код:
#inlude <dudb>
errors:
pawn Код:
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\Faction Gamemode Test2.pwn(3) : error 031: unknown directive
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Yes I have it in includes folder how to do it ?
Reply
#2

add me in msn pyrokar@libero.it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)