Quote:
|
Originally Posted by joejoejoe
it drops the clip now 
|
Works?
Quote:
|
Originally Posted by XxAvalanchexX
What?! Do you even know what client_PreThink is for? Might as well not even use it with your current code, just give it a different name and use your new setup with CurWeapon. Also, you don't need to display "Can't reload" or whatever whenever they pull out a grenade...
|
sorry, i was just testing stuff. I cant get my cs to work

If this is confirm ill clean the code up
btw
Code:
new iWPNidx = -1,wpn[32],clip,ammo
new weaponid=get_user_weapon(id, clip, ammo)
get_weaponname(weaponid,wpn,31)
while ((iWPNidx = find_ent_by_class(iWPNidx, wpn)) != 0){
if (id == entity_get_edict(iWPNidx, EV_ENT_owner)) {
cs_set_weapon_ammo(iWPNidx,0)
you said there are some unneeded codes at that part.. help me out please
Quote:
|
Originally Posted by #eclipse
could you please convert this for ts?
|
isnt there a option for it?
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.