Instagib plugin showing lots of errors
Ok so here is what i've got right now
Code:
why is it not compiling i keep getting shitloads of errors! |
1.
Code:
Code:
2. You use some cs_* commands without including cstrike, so just add Code:
3. It looks like maybe some of your if statements should have more than one condition, which means you have to use curly braces to define what happens inside of them. As of now it will only execute the first line after the if statement if the conidition is true, which looks like it will cause a lot of weird things if the statements aren't true. |
Ok it compiles now, but weidly, when i type amx_help 1, 11, 21, 31, 41, 51, 61, i dont see my cvars (ex.: ma_instagib)
Code:
did i forget anything? Code:
|
checked "amxx cvars"? it's a lot easier than using the help thingy and shows your cvars for sure if they are correctly registered...
BTW: there should be an empty statement error when you compile cuz you didn't do anything in this ma_details function. Maybe (maybe...) this screwz up the compiler so that your plugin isn't correctly compiled (I've had this once). Do something there to prevent this... Greetz MGee |
Quote:
|
ok but what is wrong??
how come my cvars arent registered??? |
They are, but they don't show up in amx_help because they are cvars, not commands.
|
ok so how to i creat commands?
register_concmd? Code:
it still aint working even with the register_concmd |
register_clcmd() only allow clients to run this command
register_concmd() allows the server and clients to run commands |
yeah i know that, but the register_concmd in my plugin doesnt seam to work. any ideas
|
| All times are GMT -4. The time now is 23:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.