Bıcak plugin istegi
Moderatör: Moderatörler
-
Konu Sahibi
Yasaklı Üye - Mesajlar: 560
- Kayıt: Sal May 31, 2016 4:09 pm
- Server Ip/DNS: 213.238.173.86
- Clan İsmi: KaoS GaminG
Bıcak plugin istegi
Arkadaslar bir bıcak istiyorum
Yani plugin saydan /dehsetbicak
Yazınca alınsın fiyatı 10bin dolar olsun
Saydanda [Klan ismi] dehşet bıcak aldınız
Yazsın
@TunnS[C]
@PaZee
@Tasarimci v2
@Fatih ~ EjderYa
Yani plugin saydan /dehsetbicak
Yazınca alınsın fiyatı 10bin dolar olsun
Saydanda [Klan ismi] dehşet bıcak aldınız
Yazsın
@TunnS[C]
@PaZee
@Tasarimci v2
@Fatih ~ EjderYa
Link: | |
Linklerini gizle |
-
- Mesajlar: 951
- Kayıt: Pzr Haz 12, 2016 12:19 pm
- Clan İsmi: CoveteuS
Bıcak plugin istegi
Bıraz Detay Verırmısın Model Fılan Koyulacakmı Koyulmucakmı
Link: | |
Linklerini gizle |
-
Konu Sahibi
Yasaklı Üye - Mesajlar: 560
- Kayıt: Sal May 31, 2016 4:09 pm
- Server Ip/DNS: 213.238.173.86
- Clan İsmi: KaoS GaminG
-
Konu Sahibi
Yasaklı Üye - Mesajlar: 560
- Kayıt: Sal May 31, 2016 4:09 pm
- Server Ip/DNS: 213.238.173.86
- Clan İsmi: KaoS GaminG
-
Konu Sahibi
Yasaklı Üye - Mesajlar: 560
- Kayıt: Sal May 31, 2016 4:09 pm
- Server Ip/DNS: 213.238.173.86
- Clan İsmi: KaoS GaminG
-
- Mesajlar: 2281
- Kayıt: Cmt Oca 28, 2017 6:27 pm
- Konum: İstanbul
Bıcak plugin istegi
Beklerim diyorsan şuanlık pek vaktim yok müsait olduğum vakit ayarlayabilirim.
Link: | |
Linklerini gizle |
-
Konu Sahibi
Yasaklı Üye - Mesajlar: 560
- Kayıt: Sal May 31, 2016 4:09 pm
- Server Ip/DNS: 213.238.173.86
- Clan İsmi: KaoS GaminG
-
Konu Sahibi
Yasaklı Üye - Mesajlar: 560
- Kayıt: Sal May 31, 2016 4:09 pm
- Server Ip/DNS: 213.238.173.86
- Clan İsmi: KaoS GaminG
-
- Mesajlar: 3971
- Kayıt: Prş Oca 05, 2017 12:38 pm
- Konum: Ordu
- Server Ip/DNS: 213.238.173.78
- Clan İsmi: CapitaLL |
- İletişim:
Bıcak plugin istegi
Kod: Tümünü seç
#include < amxmodx >
#include < amxmisc >
#include < hamsandwich >
#include < fakemeta >
#include < cstrike >
#include < fun >
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
#define is_valid_player(%1) (1 <= %1 <= 32)
new BICAK[] = "models/modelismi.mdl";
new g_super,g_money;
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event( "CurWeapon", "Event_Change_Weapon", "be", "1=1" );
RegisterHam( Ham_TakeDamage, "player", "FwdTakeDamage", 0);
register_clcmd( "say /dehsetbicak", "verbana" );
RegisterHam(Ham_Spawn, "player", "Fwd_PlayerSpawn_Post", 1)
g_money = register_cvar( "cost_super", "16000");
}
public plugin_precache( )
{
precache_model( BICAK );
}
public Fwd_PlayerSpawn_Post( id )
{
g_super &= ~( 1 << id )
}
public verbana( id )
{
if( cs_get_user_money( id ) < get_pcvar_num( g_money ) )
{
console_print( id, "Yeterli paraniz yoktur" );
return PLUGIN_HANDLED;
}
else
{
g_super |= ( 1 << id )
ham_strip_weapon( id ,"weapon_knife" );
give_item( id ,"weapon_knife" );
client_print( id, print_chat, "Super knife satin aldin" );
}
return PLUGIN_HANDLED;
}
public FwdTakeDamage(victim, inflictor, attacker, Float:damage, damage_bits)
{
if(!is_valid_player(attacker) || !is_valid_player(victim)) return HAM_SUPERCEDE
if( g_super & ( 1 << attacker ) && get_user_weapon( attacker ) )
{
SetHamParamFloat( 4, 400.0)
}
return HAM_IGNORED;
}
public Event_Change_Weapon( id )
{
new weaponID = read_data( 2 );
if( g_super & ( 1 << id ) && weaponID == CSW_KNIFE )
{
set_pev( id, pev_viewmodel2, BICAK )
}
}
stock ham_strip_weapon(id,weapon[])
{
if(!equal(weapon,"weapon_",7)) return 0;
new wId = get_weaponid(weapon);
if(!wId) return 0;
new wEnt;
while((wEnt = engfunc(EngFunc_FindEntityByString,wEnt,"classname",weapon)) && pev(wEnt,pev_owner) != id) {}
if(!wEnt) return 0;
if(get_user_weapon(id) == wId) ExecuteHamB(Ham_Weapon_RetireWeapon,wEnt);
if(!ExecuteHamB(Ham_RemovePlayerItem,id,wEnt)) return 0;
ExecuteHamB(Ham_Item_Kill,wEnt);
set_pev(id,pev_weapons,pev(id,pev_weapons) & ~(1<<wId));
return 1;
}
Link: | |
Linklerini gizle |
-
Konu Sahibi
Yasaklı Üye - Mesajlar: 560
- Kayıt: Sal May 31, 2016 4:09 pm
- Server Ip/DNS: 213.238.173.86
- Clan İsmi: KaoS GaminG