[HELP] ++ using
#1

Hi guys, I have this one and it works fine:

pawn Код:
SetPlayerScore(playerid,GetPlayerScore(playerid)+6);
But now I need this code (below) to change like previous code with +6 :/

pawn Код:
GANGXP[ playerid ] ++;
How to do that?
Reply
#2

++ will increase the variable by one, to add a higher number you need to do this:
pawn Код:
GANGXP[ playerid ] += 6;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)