Raised This Month: $ Target: $400
 0% 

admin vip for ct AND t


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hugz`
Veteran Member
Join Date: Jul 2007
Location: In a house
Old 07-21-2007 , 17:17   admin vip for ct AND t
Reply With Quote #1

Is it possible to have the "VIP" sign on the score board at T side?
I don't speak this language.. but I think they were talking about it here..
http://forums.alliedmods.net/showthr...ight=admin+vip

Could any one translate and tell me if it is possible or not
__________________
hugz` is offline
Send a message via AIM to hugz`
[X]-RayCat
Senior Member
Join Date: Sep 2006
Old 07-21-2007 , 21:15   Re: admin vip for ct AND t
Reply With Quote #2

It is possible.
[X]-RayCat is offline
hugz`
Veteran Member
Join Date: Jul 2007
Location: In a house
Old 07-21-2007 , 21:16   Re: admin vip for ct AND t
Reply With Quote #3

Could you tell me how?
__________________
hugz` is offline
Send a message via AIM to hugz`
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-22-2007 , 04:50   Re: admin vip for ct AND t
Reply With Quote #4

Did you try the plugin ?
Tell us if it works for Ts too.
ConnorMcLeod is offline
hugz`
Veteran Member
Join Date: Jul 2007
Location: In a house
Old 07-22-2007 , 05:21   Re: admin vip for ct AND t
Reply With Quote #5

Only for CT's.. I don't think it is possible for T though..
But if it is, please make sure to tell me the code :]
__________________
hugz` is offline
Send a message via AIM to hugz`
Howdy!
Senior Member
Join Date: Feb 2007
Old 07-22-2007 , 07:39   Re: admin vip for ct AND t
Reply With Quote #6

Quote:
Originally Posted by hugz` View Post
Only for CT's.. I don't think it is possible for T though..
But if it is, please make sure to tell me the code :]
It works for both teams.
__________________
[IMG]http://img221.**************/img221/5608/howdyfinnishhq2.jpg[/IMG]
Howdy! is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-22-2007 , 11:32   Re: admin vip for ct AND t
Reply With Quote #7

Code:
  message_begin(MSG_ALL, get_user_msgid("ScoreAttrib"))
  write_byte(id) //Index.
  write_byte(4) //Magic. VIP.
  message_end()
;P
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
hugz`
Veteran Member
Join Date: Jul 2007
Location: In a house
Old 07-22-2007 , 13:52   Re: admin vip for ct AND t
Reply With Quote #8

Doesn't work -.- unless I got it wrong..

Code:
#include <amxmodx>
#include <amxmisc>

new g_szVIPMap

public plugin_init()
{
    register_plugin("Admins are VIP's", "1.0", "PHP++")
    register_event("ResetHUD", "ResetHUD", "be")
    
    new szMapName[32]
    get_mapname(szMapName, 31)
    
    if (containi(szMapName, "as_") > -1)
        g_szVIPMap = 1
}

public ResetHUD(id)
{
    set_task(0.5, "VIP", id + 6910)
}

public VIP(TaskID)
{
    if (g_szVIPMap)
        return PLUGIN_HANDLED
        
    new id = TaskID - 6910
    
    if (is_user_admin(id))
    {
            message_begin(MSG_ALL, get_user_msgid("ScoreAttrib"))
            write_byte(id) //Index.
            write_byte(4) //Magic. VIP.
            message_end()
    }
    
    return PLUGIN_HANDLED
}
__________________
hugz` is offline
Send a message via AIM to hugz`
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-23-2007 , 04:50   Re: admin vip for ct AND t
Reply With Quote #9

here is my version since i prefer my ways over some others xD

EDIT: oops my bad... i misinterpreted the use of the plugin
sry about that.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 07-23-2007 at 05:15.
Exolent[jNr] is offline
Weed
Senior Member
Join Date: Jul 2007
Old 07-23-2007 , 04:57   Re: admin vip for ct AND t
Reply With Quote #10

X-o what does ur version have diff? the other guys version works well and it had both teams Working means t or ct it has VIP what urs has?
Weed is offline
Old 07-24-2007, 19:47
ZmifF
This message has been deleted by ZmifF.
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode