Is it Possible it be able to edit this script to where it like when you use the item it forces u to crouch and not beable to move then displays
"[Item Mod] You start to assemble your gun."
5 seconds later it displays
"[Item Mod] You have assembled your gun."
and it lets you move agian/
Is that possible. Heres the script if you need it.
Quote:
#include <amxmodx>
#include <tsx>
public plugin_init()
{
register_plugin("Weapon Items","FINAL","Wonsae")
register_srvcmd("item_gun","item_gun")
}
public item_gun()
{
new arg[33], arg2[33], arg3[33], arg4[33], id, wepid, ammo, spwnflg
read_argv(1,arg,32)
read_argv(2,arg2,32)
read_argv(3,arg3,32)
read_argv(4,arg4,32)
id = str_to_num(arg)
wepid = str_to_num(arg2)
ammo = str_to_num(arg3)
spwnflg = str_to_num(arg4)
if(wepid == 0){
client_print(id,print_chat,"[ItemMod] Error! Ask an admin for your item back.")
return PLUGIN_HANDLED
}
ts_giveweapon(id,wepid,ammo,spwnflg)
return PLUGIN_HANDLED
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil\\ fcharset129 Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1042\\ f0\\ fs16 \n\\ par }
*/
|
__________________