PVar Help
#1

Hi there, I'm new to the hole PVar system, and I was just wondering,

1) how would you create a PVar? By just setting one?
and
2) how do you reset onplayerdisconnect?

Thanks again
Reply
#2

Quote:
Originally Posted by The Toni
Посмотреть сообщение
Hi there, I'm new to the hole PVar system, and I was just wondering,

1) how would you create a PVar? By just setting one?
and
2) how do you reset onplayerdisconnect?

Thanks again
pawn Код:
SetPVarInt(playerid,"NewVariable",1);
No initializing and no need to reset OnPlayerDisconnect, it's done automatically.
Reply
#3

So are PVars better to use for a Register/Login system?
Reply
#4

Quote:
Originally Posted by Steven82
Посмотреть сообщение
So are PVars better to use for a Register/Login system?
Yes. (8 char rules xD)
Reply
#5

Sorry for me being a noob, but how would you do it like do you do everything the same? but liek no use the dini functions or what, i am confused as a mutha fucka
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)