SetPVarInt question.
#3

Quote:
Originally Posted by [L3th4l]
Посмотреть сообщение
You actually have it correct. Why don't you test it out

OR, you can use this macro:
pawn Код:
#define UpdatePVarInt(%0,%1,%2) SetPVarInt(%0, %1, GetPVarInt(%0, %1) %2)

UpdatePVarInt(playerid, "blabla", + 1);
- My 1,000th post D:
Damn, I just realised I did something wrong when I tested it earlier, before posting the topic. Fixed it now and it works. Thanks for the define thingy, I will use it. Sorry for the stupid thread.

ps: Congratz on your 1,000th post.
Reply


Messages In This Thread
SetPVarInt question. - by antonio112 - 12.03.2011, 01:41
Re: SetPVarInt question. - by [L3th4l] - 12.03.2011, 01:45
Re: SetPVarInt question. - by antonio112 - 12.03.2011, 01:54
Re: SetPVarInt question. - by OKStyle - 12.03.2011, 06:42

Forum Jump:


Users browsing this thread: 1 Guest(s)