Can some1 fix this 1 compile error..
There's an invalid character constant did a little research trying to figure out HOW to fix it.. but I don't know how to trouble shoot at all lol so I'm stuck trying to figure out why it's not working. It should be very simple for some1 who knows what they're doing and not a noob like me :shock::oops:
Code:
#include <amxmodx> |
Re: Can some1 fix this 1 compile error..
this is stuipid code and i dont have time to rewrite it all...
|
Re: Can some1 fix this 1 compile error..
It's probably the escape character followed by a space or the format character followed by a space that is causing it. This was probably caused by the insanely excessive use of spaces in the code. You don't need to use a space after everything, it also make it very annoying to read the code.
|
Re: Can some1 fix this 1 compile error..
Quote:
Anyway.. Code:
Code:
Code:
Code:
That should fix your error. |
Re: Can some1 fix this 1 compile error..
Quote:
|
Re: Can some1 fix this 1 compile error..
I've been told the code is a little weird. But I applied the above fixes to it.
it's supposed to set a task to kick any "Unassigned" players.. but after fixing I can finally compile it.. just the plugin doesnt work as intended. It's supposed to remove the task once it recognizes that the player joined a team already.. but instead it continues to show the countdown and still kicks regardless if the player is unassigned or assigned. Could some1 maybe cut this down to something cleaner? 30 second timer for unassigned players, and if they assigned remove_task? Getting tired of people sitting in my pug server on map changes without getting kicked, this should limit the afk's a bit and kick them out.:) |
Re: Can some1 fix this 1 compile error..
There already exists plugins that manage AFK players. I recommend that you use one of those.
Here is one. |
Re: Can some1 fix this 1 compile error..
Quote:
|
Re: Can some1 fix this 1 compile error..
You're certainly welcome to wait to see if someone will do it for you but in my experience, if a plugin already exists that does what you want, it's less likely that someone would spend the time to re-write a subset of its functionality.
|
Re: Can some1 fix this 1 compile error..
Quote:
|
All times are GMT -4. The time now is 21:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.