Admin lvl H

Technická podpora k herním serverům Counter-Strike 1.6
Message
Autor
Kredy
Příspěvky: 49
Registrován: 09 pro 2012, 21:41
Reputation: 0

Admin lvl H

#1 Příspěvekod Kredy » 20 pro 2012, 18:11

Server: 109.74.146.22:37757
Prosím udelal by mi nekdo dotoho jen pro ADMIN LEVEL H ?? DIK

#include <amxmodx>
#include <hamsandwich>
#include <cstrike>

#define PLUGIN_NAME "Free Defuserkit"
#define PLUGIN_VERSION "1.1."
#define PLUGIN_AUTHOR "tuty"

#pragma semicolon 1

new gEnableDefusers;
new gDefuseColor;

public plugin_init()
{
register_plugin( PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR );
RegisterHam( Ham_Spawn, "player", "Bacon_Spawn", 1 );
gEnableDefusers = register_cvar( "free_defuser", "1" );
gDefuseColor = register_cvar( "free_defuser_color", "0 160 0" );
}
public Bacon_Spawn( id )
{
if( is_user_alive( id ) && get_pcvar_num( gEnableDefusers ) && get_user_team( id ) == 2
&& !cs_get_user_defuse( id ) )
{
new color[ 12 ], rgb[ 3 ][ 4 ], r, g, b;
get_pcvar_string( gDefuseColor, color, charsmax( color ) );
parse( color, rgb[ 0 ], 3 , rgb[ 1 ], 3 , rgb[ 2 ], 3 );

r = clamp( str_to_num( rgb[ 0 ] ) , 0, 255 );
g = clamp( str_to_num( rgb[ 1 ] ) , 0, 255 );
b = clamp( str_to_num( rgb[ 2 ] ) , 0, 255 );

cs_set_user_defuse( id, 1, r, g, b );
}
return HAM_IGNORED;
}

Zpět na „Counter-Strike 1.6“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 12 hostů