how?: execute once on mapchange
here is what i want to do:
only 1 time, after map change: Code:
|
Code:
EDIT: Code:
|
Yes, Hawk, that got the job done --- Thanks a Mil! ;o
|
Why do so much if he only wants to execute this code once?
Code:
its simplier and has less variables. so uses less memory. Yours has two functions and 3 variables(1 global). and this one has one function and one variable. with less code doing the same thing. |
I usually do that stuff in plugin_cfg()
|
He can always just modify it to not use variables, and if he needs it more than once, my method is better. Come on, seriously, what would be the extra CPU and overhead? 0.0000001 for the split second it takes to calculate that, and maybe a few bytes.
|
my solution involved combining elements from Hawk and Suicid3. The code was forwarded to BAILOPAN to be included in CSDM2.
|
| All times are GMT -4. The time now is 23:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.