[solved]How to fix warnings here?
Compiles ok, no errors no warnings but when i start server gives me a runtime error 10 from plugin.
What's the problem? Code:
|
Re: How to fix warnings here?
Code:
|
Re: How to fix warnings here?
Thx, but here is the part i didn't understand:
Example 1: here i get warning Code:
Example 2: Here i don't get warning (i only moved return PLUGIN_HANDLED a little bit) [small] public cmd_working (id) { if(!access(id, ADMIN_CHAT)) { console_print(id, "[AMXX] You have no access to this command!"); return PLUGIN_HANDLED } read_args(argMessage, 255) set_hudmessage(130, 90, 70, -1.0, 0.45, 0, 1.0, 999991.0, 0.1, 0.2, -1) show_hudmessage(0, argMessage) return PLUGIN_HANDLED } |
Re: How to fix warnings here?
ur getting loose indentation warnings i think, i have to assume cause ur not telling me ur warnings, and it is because you have
Code:
Code:
read_args(argMessage, 255) ex: Code:
read_args(argMessage, 255) |
Re: How to fix warnings here?
Yes i get lose identitation warnings from return PLUGIN_HANDLED .
|
Re: How to fix warnings here?
ok edited above post look at it again, it shows you what you need to do
|
Re: [solved]How to fix warnings here?
Yes i understand now. Thank you again :D
|
Re: [solved]How to fix warnings here?
anytime good luck Xum
|
Re: [solved]How to fix warnings here?
Compiles ok, no errors no warnings but when i start server gives me a runtime error 10 from plugin.
What's the problem? Code:
|
Re: [un-solved]How to fix warnings here?
I don't quite know, what this plugin is meant to do, description would pe helpful, but... here's the code.
Code:
|
| All times are GMT -4. The time now is 07:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.