25-07-13, 19:32
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <fun>
#include <fakemeta>
#define PLUGIN "No Glock on Revive & Block Glock Drop"
#define VERSION "2.0"
#define AUTHOR "akcaliberkk"
new LastSpawnTime[33];
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn,"player","HamPlayerSpawnPost",1)
register_clcmd("drop","BlockDrop")
}
public HamPlayerSpawnPost(id) {
set_task(0.1,"Strip",id)
}
public Strip(id) {
strip_user_weapons(id)
give_item(id,"weapon_knife")
set_pdata_int(id, 116, 0) // Yerdeki silahlari alamama fix
LastSpawnTime[id] = get_systime();
}
public BlockDrop(id) {
if( ( get_systime() - LastSpawnTime[id] ) < 1) {
client_print(id,print_chat,"no drop")
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}
doğru düzgün anlatmıyorsunki ne istediğini. Elbette sadece teroristte çalışır sen demedin ki bize her iki takım için de çalışsın.
Al kullan
CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz: destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/


![[Image: amxxlarge.jpg]](https://www.amxmodx.org/images/amxxlarge.jpg)