Go Back   Savage 2: A Tortured Soul Forum > Savage 2 Modding > Documentation


Documentation Post useful tutorials and other informative material.

Thread Tools Display Modes
Old 10-15-2013, 03:56 PM   #1

Join Date: Jul 2011
Location: Belgium
Posts: 264
Thanks: 47
Thanked 67 Times in 54 Posts
Default Function Toggle

Assign 0 or 1 to a var

createvar int my_var 0

Toggle my_var

echo my_var gives 1

Toggle my_var

echo my_var gives 0
Operating System: Windows 7 x64
Graphic card : Geforce GT 540M
RAM : 8gb
Durwyn is offline   Reply With Quote
The Following User Says Thank You to Durwyn For This Useful Post:
rohezal (10-15-2013)

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
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

All times are GMT. The time now is 10:11 PM.