[REALESE][.INC] Full Global Vars V0.2 (very early realese)
#1

What Is It?
  • This Include Allow You To Make "Full-global" variables, a way to connect between 2(+) differenct scripts / mother mode.
How To Use?
  • Well, i fitted this include for "normal" somthing syntax -
  • Creating Global Variable:
Код:
Global:["(var name)"]=["(var value string)"];
  • Getting The Value Of Global Variable:
Код:
@Global:["(var name)"];
  • Easy to learn and remember..
Download (.rar file with the include)
http://www.sendspace.com/file/u9897i

Patch 0.2
  • "confirm" extra file was dropped.


Enjoy :]
Reply
#2

Thanx
Reply
#3

Very nice roei. Good job.
Reply
#4

Quote:
Originally Posted by Amit B
Very nice roei. Good job.
thx amit
Reply
#5

Good work but you did wrong here:

Код:
#include "confirm" /* it contains "#define CONFIRMED" */

#if !defined CONFIRMED
	#endinput
#endif
This is very bad, why? CONFIRMED will always will be defined, so how to do this correct way?

Код:
#if defined CONFIRMED
  #endinput
#endif
#define CONFIRMED
I hope this helps
Reply
#6

Quote:
Originally Posted by JoeBullet
Good work but you did wrong here:

Код:
#include "confirm" /* it contains "#define CONFIRMED" */

#if !defined CONFIRMED
	#endinput
#endif
This is very bad, why? CONFIRMED will always will be defined, so how to do this correct way?

Код:
#if defined CONFIRMED
  #endinput
#endif
#define CONFIRMED
I hope this helps
um.. you didnt understand it right..
i created this "confirm system" to prevent noobs from copying the include..
its may seems strange but its working..
Reply
#7

Quote:
Originally Posted by djlobo[Awesome-games.tk
]
its not this similar to dprop ? or even to callremotefunction ?
its include that making the uasge of propertys functions easier
Reply
#8

Good job
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)