Author Topic: Changing settings ingame Client Script  (Read 1265 times)

For a script i want to be able to change a number for a schedule ingame. I want to be able to do this on other servers and what cmd would i use so that i could easily change it ingame?

This is amazingly funny.

if you can't figure out how to change a variable, there is not much hope for you

if you can't figure out how to change a variable, there is not much hope for you
thanks for the help you are very useful resource.

if you can't figure out how to change a variable, there is not much hope for you
[/quote
Congrats, not only did you not get what he's talking about, you also don't get that this is humorously impossible and I don't know why anyone would think it was.

Congrats, not only did you not get what he's talking about, you also don't get that this is humorously impossible and I don't know why anyone would think it was.

I assume by "a number for a schedule" he means a delay for a loop.

yes to the above, would I be able to place a variable with a default for the schedule and then is it possible to change the variable through console or not?

is this what you mean?

$this=schedule(time,this,function,argsifany);

then in console, you can put the above, in the same format if thats what your trying to do.

i was wondering if i could do this
Code: [Select]
$sc::Schedule = schedule($scRate,0,sc);
then in console put
Code: [Select]
$scRate = 33

i was wondering if i could do this
Code: [Select]
$sc::Schedule = schedule($scRate,0,sc);
then in console put
Code: [Select]
$scRate = 33

yes you can

I am getting  a error when running the script on start up and can't figure out what the issue is here is the error report. What is the problem with the script it doesn't tell me much with this report at least not from my eyes.
Code: [Select]
Removed to prevent Rapidfire becoming widely used
« Last Edit: August 20, 2010, 07:34:57 PM by MagicAhrim »

Missing a semicolon after defining $QQRate
Also you should define things like that in the very beginning of the script instead of in a function, especially one that loops.

This script has already been made and released, btw

This script has already been made and released, btw
I was making one so that the speed could be adjusted and i don't think anyone has done that and i was just going to leave it a private mod.

Thank you the fix worked locking