Question about SetPVar
#1

Hello
Can anyone tell me please , what's the difference between
Setpvar

and between creating a new variable like this

pawn Код:
new IsPlayerAfk[MAX_PLAYERS];
Reply
#2

One is created when server is loaded (new), the other is created when player requires it. However, PVar's are slightly slower.
Reply
#3

Thank you.
But they both have the same result?
Reply
#4

Quote:
Originally Posted by CoDeZ
Посмотреть сообщение
Thank you.
But they both have the same result?
Somehow, yes.
Read this for further clarification:
PVars - when, and when not, to use them
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)