HELP Enum
#1

How do I set an enum?

e.g Like if they buy something it will set their [pInfo][Playerid][pInventoryHasKey]

Make the value 1?
Reply
#2

PlayerInfo(assuming this is what is tied to it)

So:

PlayerInfo[playerid][pInventoryHasKey] +=1;

or:

PlayerInfo[playerid][pblahblah] ++;
Reply
#3

Oh lol, How cool is that I was just reading your thread lol

http://forum.sa-mp.com/showthread.ph...25#post2982025

then I switched tab and Wallah! lol

Thanks Man
Reply
#4

Quote:
Originally Posted by Mriss
Посмотреть сообщение
Oh lol, How cool is that I was just reading your thread lol

http://forum.sa-mp.com/showthread.ph...25#post2982025

then I switched tab and Wallah! lol

Thanks Man
Haha yeah no problem!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)