SA-MP Forums Archive
Alot of Errors in Faction System - 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: Alot of Errors in Faction System (/showthread.php?tid=349599)



Alot of Errors in Faction System - cloudysky - 09.06.2012

Edit: This problem is fixed


Re: Alot of Errors in Faction System - JhnzRep - 09.06.2012

pawn Код:
Faction[i][FName] = dini_Get(FileName, "FactionName" );
            Faction[i][Rank1] = dini_Get(FileName, "FactionRank1" );
            Faction[i][Rank2] = dini_Get(FileName, "FactionRank2" );
            Faction[i][Rank3] = dini_Get(FileName, "FactionRank3" );
            Faction[i][Rank4] = dini_Get(FileName, "FactionRank4" );
            Faction[i][Rank5] = dini_Get(FileName, "FactionRank5" );
            Faction[i][Rank6] = dini_Get(FileName, "FactionRank6" );
            Faction[i][Rank7] = dini_Get(FileName, "FactionRank7" );
pawn Код:
FactionFile[i][FactionName]
Change them all to the...


Re: Alot of Errors in Faction System - Jonny5 - 09.06.2012

pawn Код:
FactionName

Faction[i][FName] //<~~~~
the error is clear...
you cannot just make FactionName FName


Re: Alot of Errors in Faction System - cloudysky - 09.06.2012

Edit: Scrap that


Re: Alot of Errors in Faction System - cloudysky - 09.06.2012

nvm new thread