script-dvar issue
Posted: June 25th, 2013, 5:46 am
so in my script i have the following:
user setClientDvar("r_lightTweakSunColor", 0, 1, 1, 1);
(this is in RGBA format)
for some reason, only the first number parameter is used and the others are set to 0/ignored... so this would be 0 0 0 0.
user setClientDvar("r_lightTweakSunColor", 1, 1, 0, 1);
this would be 1 0 0 0
someone help, i cant figure out how to access the other parameters :s
user setClientDvar("r_lightTweakSunColor", 0, 1, 1, 1);
(this is in RGBA format)
for some reason, only the first number parameter is used and the others are set to 0/ignored... so this would be 0 0 0 0.
user setClientDvar("r_lightTweakSunColor", 1, 1, 0, 1);
this would be 1 0 0 0
someone help, i cant figure out how to access the other parameters :s