View Single Post
  #12  
Old 06-14-2005, 12:56 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
In old scripting:
On serverside variables without prefix are only valid inside the same script (npc script, weapon script, class script), on clientside they are "global".

New scripting:
All variables without prefix are global, except function parameters which are automatically made temp. variables. It is planned that there will be an option to make all variables without prefix temp. variables. That option will not be enabled by default because it could break scripts, since in the old scripting engine such variables are often used to pass parameters to functions (although this. variables are better for that if you want to pass parameters to functions inside other scripts/classes).
Reply With Quote