Another bug
#8

the bug comming from, i'am finding this with a manually methode ( remove the function and try ) and when i have remove this all work fine, and i'am remember that i have a problem with this system in this morning ( with -1 value ) , so how can i resolve this problem.

PHP код:
stock PlayerExpTheirFaction(playerid){
    new 
factionid APlayerData[playerid][Team];
    if(
factionid != -1)
    {
        
Factions[factionid][factionExp]++;
        
Factions[factionid][Coffre] += 100;
        return 
1;
    }
    
Faction_Save(factionid);
    return 
1;

pawn Код:
if(factionid != -1)
-1 = default faction value ( the player isn't in any faction ).
Reply


Messages In This Thread
Another bug - by AlexBlack - 31.05.2015, 15:59
Re : Another bug - by AlexBlack - 31.05.2015, 16:24
Re: Another bug - by Konstantinos - 31.05.2015, 16:36
Re : Another bug - by AlexBlack - 31.05.2015, 16:39
Re: Another bug - by Konstantinos - 31.05.2015, 16:42
Re: Another bug - by Pottus - 31.05.2015, 16:43
Re : Another bug - by AlexBlack - 31.05.2015, 16:55
Re : Another bug - by AlexBlack - 31.05.2015, 17:08
Re : Another bug - by AlexBlack - 31.05.2015, 17:29
Re: Another bug - by Konstantinos - 31.05.2015, 17:37

Forum Jump:


Users browsing this thread: 2 Guest(s)