Syntax help
Code:
public cmd_glow(id, level, cid)Code:
stock glow_player(id, rgb[3], glowAmount = 40) |
Re: Syntax help
Apparently my problem is that I can't have variables in an array, is there a workaround or should I set all the arguments to separate ints?
|
Re: Syntax help
When it comes to server side, you can do basically anything so there's definitely a solution.
I'm not completely sure here but I'm making some guesses. I think {} is for the compiler, not runtime. So you might not be able to use it dynamically like you are doing. There might be a workaround but I would just reformat it: Code:
Throw in some looping just for neatness. Code:
Also, since the read_argv() function is getting a string you need to leave space for the null at the end. So either limit it to 2 characters using: Code:
Code:
|
| All times are GMT -4. The time now is 13:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.