Game : CS 1.6
Hi guys, my english is bad, so i will be short
I need a plugin that allows me to, when the weapon on the floor (as fy_snow)
it can not "wear out" when players run over and pick up weapons, say 1000 times, to stay for the other players
means that it can not wear
My friend
Lucky made this :
PHP Code:
#include <amxmodx>
#include <cstrike>
#include <fun>
public plugin_init()
{
register_plugin("Nov Plugin", "1.0", "Lucky")
register_event("WeapPickup", "weaponpickup", "be")
}
public weaponpickup(id)
{
new weaponid = read_data(1)
if(weaponid != CSW_C4)
{
new weaponname[64]
get_weaponname(weaponid, weaponname, 63)
give_item(id, weaponname)
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}
but i have just five or six weapon on the same meat
Thanks!