Help me with this please...
I found this, and i want to make it admin only...i dont know if i put everything in the right spot...can you help me?
I need it to show only when admin connects or leaves... Code:
|
So what's the problem?
It appears that it will only work for admins on connect. Make it do the same for disconnect. Also, if that's the entirety of the plugin, why in the name of your favorite God's name, are you including cstrike? |
It wont compile...can u plz fix my code?
I dont know...it wouldnt compile, then i included cstrike and it didnt show any errors, but then it only said Quote:
|
No, I won't. You do it.
Code:
|
I'll point you to the way....
You got to use a get_players, a for statement, show_hud(id, message) |
Quote:
|
You don't need to include cstrike.
You make two statements on the same line without a semicolon (declaration of the message variable and formatting it). You do this again (setting the hud message and showing it). You do this two more times (second function, same places). You have an extra curly brace on the register_plugin line. |
| All times are GMT -4. The time now is 16:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.