Quote:
|
Originally Posted by VEN
No, when i said "function headers" i mean only where function body begins.
Example:
Code:
my_func(param[]) { // function's header
another_func(another_param) // notice no brackets for another_param
}
|
So thats kinda like doing this?
Code:
public fn_cl_weather ( gi_playerID, s_cvarname[], const value[] ) // function's header
{
fn_fcosandlogentry ( gi_playerID, s_cvarname, gf_valuefromplayer, gf_calfloatvalue ) // notice no brackets for s_cvarname as I originally had it
Is that correct to what you talking about doing? The only difference is that const was taken out of the function param for fn_cl_weather. If I am wrong please just post what I originally posted the correct way. Changing the function header for fn_cl_weather from const s_cvarname[] to s_cvarname[] did nothing and I still get the same problem when I compile.