ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 2182

The CORRECT way to read or write GLOBALS

by elmay - 07-02-2019 - 05:48 PM
#1
i need to say, my method isnt the correct way to read or write them, there are more and many ways to do and all finishes with the same results but i think my method is most compact and easy wait to write and read them, enjoy ;)
Hidden Content
You must register or login to view this content.


how to use them:
read int: GlobalVariable<int>(globalid);
read float GlobalVariable<float>(globalid);
read char*: GlobalVariable<char*>(globalid);
wirte int: GlobalVariable<int>(globalid) = newglobalvalue;
write float: GlobalVariable<float>(globalid) = newglobalvalue;
write char* GlobalVariable<char*>(gloablid) = newglobalvalue;
Reply
#2
Thanks for share :D
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#3
Thanks for share
Reply
#4
(07-02-2019 - 06:38 PM)NoNameV2345 Wrote: Thanks for share :D

np ;)
Reply
#5
Good shit brudda
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Multi
Reply
#6
(07-03-2019 - 10:37 PM)UNBOUND Wrote: Lol, this is trash.

I think the same thing about ur freeze cars code ;) anyway here it is
Reply

Users browsing: 3 Guest(s)