Posts: 228
Threads: 27
Joined: Nov 2008
Reputation:
0
Hey, i've seen it been done before.. Whats the function to do it?
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by -Rebel Son-
and you would use this as.
(say you were using it to track somthing)
---------------------------------
For a global variable.
-
pawn Код:
new Example[MAX_PLAYERS];
and you would use that as. Example[playerid];
|
They are both global variables, providing you don't limit the scope by placing the variables/arrays within a function.... The second example is an array with the dimensions of MAX_PLAYERS (500) so 500 cells are created as integers.
Posts: 1,363
Threads: 14
Joined: Apr 2009
Reputation:
0
you change the weburl in the server.cfg, other things such as gravity, world time and weather can be done in the script using functions such as SetGravity, SetWorldTime or SetWeather