first script in ages 4 errors left
Code:
Theres probly something i done stupidly wrplz correct for me :( [/code] |
Did you intend for the condition portion of your loop to be just 65? Or did you mean something like this:
(for new x=1; x<65; x=x+1) ? I don't think you have a stopping condition in your loop, so I would revise that ... Also, is it complaining about loose indentation, or is that just an effect from posting it here, as the indentation could cause problems if the indentation of the code doesn't follow the intended logic flow ... Please post the error messages, that would help. Mugwump |
change
"for ( x=1; 65; x = (x + 1) ) {" to "for ( x=1; x<=65; ++x) {" and make new playaz[64] a global variable also playaz[64] dont need to be 64 cause there are only max 32 players it should be changed to 33 and therefore also 65 to 32 at "for ( x=1; x<=65; ++x) {" it should not be Code:
Code:
dont really understand what your plugin should do? |
its ment to change a random players model at the start of each round
|
interesting method, I would have simply used gotten the players, changed one's random model, and just left it at one function... but thats me. You do realize that playaz isnt a global variable and thus the function changeth couldn't possibly know that the two the same. You can either pass playaz to changeth or you could be lazy like the rest of us and make it global (by declaring it outside of a function, at the top of the script).
|
This part is wrong:
Code:
new playaz[64] Code:
new playaz[64] |
| All times are GMT -4. The time now is 14:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.