PVar Help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: PVar Help (
/showthread.php?tid=166734)
PVar Help -
Toni - 09.08.2010
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
Re: PVar Help -
JaTochNietDan - 09.08.2010
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.
Re: PVar Help -
Steven82 - 09.08.2010
So are PVars better to use for a Register/Login system?
Re: PVar Help -
RyDeR` - 09.08.2010
Quote:
Originally Posted by Steven82
So are PVars better to use for a Register/Login system?
|
Yes. (8 char rules xD)
Re: PVar Help -
Steven82 - 09.08.2010
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