Raised This Month: $ Target: $400
 0% 

Admin accase flag ! Help me !


Post New Thread Reply   
 
Thread Tools Display Modes
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 12-31-2016 , 15:12   Re: Admin accase flag ! Help me !
Reply With Quote #11

LMFAO
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
JoaoVieira
Senior Member
Join Date: May 2013
Location: Portugal
Old 12-31-2016 , 15:19   Re: Admin accase flag ! Help me !
Reply With Quote #12

PHP Code:
#include <amxmodx>
#include <cstrike>

#define ADMIN_LEVEL ADMIN_CHAT

#define PLUGIN "Damager_by_iChip"
#define VERSION "3.0"
#define AUTHOR "iChip"

new g_MsgSync1hudd
static pid,damage[33], vic[33],name[33],Float:posit[32]

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_event("Damage""EVENT_Damage""b""2!0""3=0""4!0")
    
g_MsgSync1 CreateHudSyncObj() ,hudd CreateHudSyncObj()
}
public 
EVENT_Damage(id)

    if(
get_user_flags(id) & ADMIN_LEVEL)
    {
    if(!
is_user_connected(id)) return
    
pid get_user_attacker(id)
    if(!
is_user_connected(pid)) return
    
damage[id] = read_data(2)
    
get_user_name(idname32)
    
vic[id]=get_user_health(id)
    if(
posit[pid] == 0.45posit[pid]=0.55
    
else posit[pid]=0.45
    set_hudmessage
(255000.00.2106.012.0)
    
ShowSyncHudMsg(pidhudd"-%d HP"damage[id])
    if(
vic[id]>60){
        
set_hudmessage(025500.00.1406.012.0)
        
ShowSyncHudMsg(pidg_MsgSync1"%s^n(%d HP)"namevic[id])
    }
    else if(
vic[id]>30){
        
set_hudmessage(25525500.00.1406.012.0)
        
ShowSyncHudMsg(pidg_MsgSync1"%s^n(%d HP)"namevic[id])
    }
    else if(
vic[id]>0){
        
set_hudmessage(255000.00.1306.012.0)
        
ShowSyncHudMsg(pidg_MsgSync1"%s^n(%d HP)"namevic[id])
}
}


Last edited by JoaoVieira; 12-31-2016 at 15:27.
JoaoVieira is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-01-2017 , 08:27   Re: Admin accase flag ! Help me !
Reply With Quote #13

That won't work. My santa code works perfectly, but the author only knows how to ask questions, not to say thank you or something like that.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 01-01-2017 , 09:23   Re: Admin accase flag ! Help me !
Reply With Quote #14

Quote:
Originally Posted by edon1337 View Post
Corny ass code, kinky.
__________________
edon1337 is offline
JoaoVieira
Senior Member
Join Date: May 2013
Location: Portugal
Old 01-01-2017 , 09:45   Re: Admin accase flag ! Help me !
Reply With Quote #15

Quote:
Originally Posted by OciXCrom View Post
That won't work. My santa code works perfectly, but the author only knows how to ask questions, not to say thank you or something like that.
hahaha
JoaoVieira is offline
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 06:42.


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