Help with SetPVarInt and GetPVarInt
#1

Код:
Hello there,

I have this little problem, when I try to test saving pvars in database, console prints always that variable as 0.

here is code

Код:
				SetPVarInt(extraid, "Drug2", 3);
		        format(Drug, sizeof(Drug), "Drug%d", Drugs[i][drugSQLID]); //drugSQLID is 2
		        printf("%s | %d", Drug, GetPVarInt(0, Drug));
So I just need to know, does player with that ID need to be connected so it would save that pvar or ????

Thanks in advance
Solved by ******
Reply


Messages In This Thread
Help with SetPVarInt and GetPVarInt - by CoaPsyFactor - 26.10.2012, 12:56

Forum Jump:


Users browsing this thread: 1 Guest(s)