SA-MP Forums Archive
[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?
How To Use?
Код:
Global:["(var name)"]=["(var value string)"];
Код:
@Global:["(var name)"];
Download (.rar file with the include)
http://www.sendspace.com/file/u9897i

Patch 0.2

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