hi x_x
How to use text in cvar and print it?
~example;
Quote:
new text
text = register_cvar("cvar_name", "some text here")
ColorChat(id, GREEN, "your text in cvar: %s", get_pcvar_num(text) )
|
It won't print the text in cvar, i tried with %s, %d, %f and nothing :\
Can someone also tell me the difference betwen the %d, %f and all those symbs? thanks
---edit
How I can set_task with cvar?
like:
new task_time
task_time = register_cvar("cvar_name", "10")
set_task(here the cvar, "etc", id)