Passing on a string/num/float to after a mapchange
Ive been thinking of this several times, and now i need it but i have no idea how to do it.
How to hold a string/num/float in a mapchange. The only idea i have is read/write_file but this isnt a good solution. Maybe this can be a nice idea for a function REQ if it isnt already there? Thanks, Ramon |
Re: Passing on a string/num/float to after a mapchange
A better way is using CVARs to store it over Mapchange.
Edit:You can also store more than 1 Information in CVAR or localinfo by using spaces between the infos and parse them. |
Re: Passing on a string/num/float to after a mapchange
You could use set_localinfo() and get_localinfo.
Note that the information will be lost on server exit or crash. |
Re: Passing on a string/num/float to after a mapchange
For example this:
Code:
It should work right? Edit: It does work! |
Re: Passing on a string/num/float to after a mapchange
Cvars aren't made for this.
|
Re: Passing on a string/num/float to after a mapchange
You can use many things for something who not made for it.:mrgreen:
Its only recommend that it work. |
Re: Passing on a string/num/float to after a mapchange
Quote:
|
| All times are GMT -4. The time now is 22:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.