Raised This Month: $ Target: $400
 0% 

(Request help)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 08-01-2019 , 06:41   Re: (Request help)
Reply With Quote #3

i does not know whether it will work or not

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

public plugin_init() { 
    
register_plugin("Admin Spec GodMode""1.0""decak"
    
register_clcmd("say /spec""Aspecc"
    
register_clcmd("say /aspec""Aspecc"
    
RegisterHam(Ham_TakeDamage"player""dmgg"


public 
Aspecc(id) { 
    if(
has_flag(id,"y")) 
    { 
    if(!(
is_user_alive(id))) 
    
ExecuteHamB(Ham_CS_RoundRespawnid
    
cs_set_user_team(idCS_TEAM_SPECTATOR); 
    } 
    return 
PLUGIN_HANDLED


public 
dmgg(vicattinfFloat:dmdmbt) { 
    new 
CsTeams:tim cs_get_user_team(vic); 
    if(
has_flag(vic,"y") && tim == CS_TEAM_SPECTATOR
        return 
HAM_SUPERCEDE
    return 
HAM_IGNORED

__________________
SED LYF !!!
SHIELD755 is offline
 



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 17:27.


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