A little question about SetPVar and GetPVar
#1

For example, i have a Gamemode. And then i add this script:

pawn Код:
SetPVarInt(2, "cool", 200); //Sets ID 2 Player Variable "cool" into 200
And then, i open in a Filterscript that i'm going to use it together with the gamemode:

pawn Код:
new pVar;
pVar = GetPVarInt(2, "cool");
Will that GetPVarInt returns 200 (Like in the gamemode) into the pVar Variable?
I mean, can GetPVar(Int/Str, etc...) used across scripts?
Reply
#2

Would anyone answer?
Reply
#3

It will work. But if a player disconnects it will reset.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)