A simple question
#1

Are the PVars which are set in the gamemode can be called in an include or vice versa?
Reply
#2

PVars are serverwide, so yes.

Also, for the record: the contents of an included file are copied into the "master" file on compilation. The include directive is more or less a shortcut that tells the compiler: get the contents from this file and copy it to this location.
Reply
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
PVars are serverwide, so yes.

Also, for the record: the contents of an included file are copied into the "master" file on compilation. The include directive is more or less a shortcut that tells the compiler: get the contents from this file and copy it to this location.
Thanks, cheers!
Reply
#4

Another question about PVar. Are they faster than "basics" variables?
Reply
#5

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
Another question about PVar. Are they faster than "basics" variables?
No!!
Reply
#6

No, basics variables are more faster, and uses less memory

as ****** said here https://sampforum.blast.hk/showthread.php?tid=310287
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)