ReaL Low Head 233 Posted August 13, 2015 Share Posted August 13, 2015 Nume :plugin vip Versiune : = Descriere detaliata : fiecare respwan 100 hp/armura ,la fiecare kill /HS sa primeasca 200 Armura,viteza 400 pe a 2 arma , knife ,acces la admin chat ,acces la slay/slap Link to comment Share on other sites More sharing options...
LuK.ZEW # 1,111 Posted August 13, 2015 Share Posted August 13, 2015 Acest plugin il ai deja pe server , daca il vrei iar te rog sa-mi dai PM si ti-l dau ! Link to comment Share on other sites More sharing options...
ReaL Low Head 233 Posted August 14, 2015 Author Share Posted August 14, 2015 lasa linkul aceea ! Link to comment Share on other sites More sharing options...
LuK.ZEW # 1,111 Posted August 14, 2015 Share Posted August 14, 2015 #include <amxmodx> #include <fun> #include <fakemeta> #include <hamsandwich> #define PLUGIN "VIP Respawn" #define VERSION "0.2" #define is_user_vip(%1) (get_user_flags(%1) & ADMIN_LEVEL_H) #define HP_VIP 200 #define AP_VIP 200 #define Ham_Player_ResetMaxSpeed Ham_Item_PreFrame new Float:g_flMaxSpeed = 400.0; public plugin_init() { register_plugin(PLUGIN, VERSION, "Piratu din taifun"); register_event( "DeathMsg" , "DeathMsgEvent" , "a" ); RegisterHam(Ham_Spawn, "player", "PlayerSpawn"); RegisterHam(Ham_TakeDamage, "player", "Player_TakeDamage"); RegisterHam(Ham_Player_ResetMaxSpeed, "player", "Player_ResetMaxSpeed",1); } public PlayerSpawn(id) { if(is_user_alive(id) && is_user_vip(id)) { set_user_health(id, HP_VIP); set_user_armor(id, AP_VIP); } } public DeathMsgEvent() { new iKiller = read_data( 1 ); new iVictim = read_data( 2 ); if(is_user_alive(iKiller) && is_user_vip(iKiller) && iKiller != iVictim) { set_user_health(iKiller, HP_VIP); set_user_armor(iKiller, AP_VIP); } } public Player_TakeDamage ( iVictim, iInflictor, iAttacker, Float:fDamage, iDamageBits ) { if (is_user_alive(iAttacker) && is_user_vip(iAttacker)) { SetHamParamFloat( 4, fDamage*2); return HAM_HANDLED; } return HAM_IGNORED; } public Player_ResetMaxSpeed( id ) { if(is_user_alive(id) && is_user_vip(id) && get_user_weapon(id) == CSW_KNIFE) { set_pev(id, pev_maxspeed, g_flMaxSpeed) } } Sau aici : http://www.fileshare.ro/e31835254 Astept confirmarea ta pentru a putea da Closed ! Link to comment Share on other sites More sharing options...
ReaL Low Head 233 Posted August 14, 2015 Author Share Posted August 14, 2015 lock ! Link to comment Share on other sites More sharing options...
Recommended Posts