13.06.2012, 21:25
Try to change += to ++.
So, for example,
would change to
All looks fine, but you can always try this.
EDIT: on second thought, why do you check if the players faction is less then or equal to 1? Shouldn't it be 0?
Also, why do you add onto the variable. Why not set it to a number, like 1 or something.
So, for example,
pawn Код:
FactionLeader[targetid] += 1;
pawn Код:
FactionLeader[targetid] ++;
EDIT: on second thought, why do you check if the players faction is less then or equal to 1? Shouldn't it be 0?
Also, why do you add onto the variable. Why not set it to a number, like 1 or something.