Raised This Month: $344 Target: $400
 86%   Almost there!

Global variable

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Join Date: Apr 2010
Location: Ukraine
Old 12-15-2010 , 05:51   Global variable
Reply With Quote #1

Tell me please, with what the team can set a global variable? That the information in it available to all block (event).
That something like this, but define broken.
Thank you!
PHP Code:
if(strcmp(data1"1"true)) {
#define TEXT "1"
#define TEXT "0"
PrintToServer("TEXT - %s"TEXT);

Touch is offline
Send a message via Skype™ to Touch
Veteran Member
Join Date: Aug 2008
Old 12-15-2010 , 13:26   Re: Global variable
Reply With Quote #2

PHP Code:
decl String:text[4];

if (
strcmp(data1"1"true) == 0)
PrintToServer("text - %s"text);


Last edited by FaTony; 12-15-2010 at 13:30.
FaTony is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 07:51.

Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Theme made by Freecode