How to increase enum by a specific number
#1

Hi.

I know that I can increase an enum with the 2 '+''s.

pawn Код:
PlayerInfo[playerid][pExperience2]++;
What do I write so that this increases by 100? Sort of like this:

pawn Код:
PlayerInfo[playerid][pExperience2]+ 100;
Thanks.
Reply


Messages In This Thread
How to increase enum by a specific number - by TheTerminator - 02.07.2015, 11:56
Re: How to increase enum by a specific number - by LetsOWN[PL] - 02.07.2015, 12:07
Re: How to increase enum by a specific number - by TheTerminator - 02.07.2015, 12:19

Forum Jump:


Users browsing this thread: 2 Guest(s)