[REALESE][.INC] Full Global Vars V0.2 (very early realese) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [REALESE][.INC] Full Global Vars V0.2 (very early realese) (
/showthread.php?tid=104674)
[REALESE][.INC] Full Global Vars V0.2 (very early realese) -
DeadlyCola - 25.10.2009
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 :]
Re: [REALESE][.INC] Full Global Vars V0.1 (very early realese) -
MeHaBeL - 25.10.2009
Thanx
Re: [REALESE][.INC] Full Global Vars V0.1 (very early realese) -
Amit_B - 25.10.2009
Very nice roei. Good job.
Re: [REALESE][.INC] Full Global Vars V0.1 (very early realese) -
DeadlyCola - 25.10.2009
Quote:
Originally Posted by Amit B
Very nice roei. Good job.
|
thx amit
Re: [REALESE][.INC] Full Global Vars V0.1 (very early realese) -
Google63 - 25.10.2009
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
Re: [REALESE][.INC] Full Global Vars V0.1 (very early realese) -
DeadlyCola - 25.10.2009
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..
Re: [REALESE][.INC] Full Global Vars V0.2 (very early realese) -
DeadlyCola - 25.10.2009
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
Re: [REALESE][.INC] Full Global Vars V0.2 (very early realese) -
kr0tchy - 26.10.2009
Good job