Global variables
#1

How can I make sure a variable which I declare in script1.amx is also reachable in script2.amx?

new variable[MAX_PLAYERS]; in the top of the pawn script does not work..
Reply
#2

I have never had to do that before, well I have something kinda similar but i used a file to save the information and had it read in the second script.
Reply
#3

use PVars, they're accessable in gamemode and any related filterscript.
Reply
#4

Quote:
Originally Posted by Cank
Посмотреть сообщение
use PVars, they're accessable in gamemode and any related filterscript.
YES! thank you

And a happy new year!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)