Delete a weapon
How would I delete a weapon while it's in someone's hands or when it's dropped?
|
remove_ent if it's on the ground
Or client_cmd(id,"drop",weapon) then do a set task to remove the gun. |
This seems to give me an error :X
Code:
Code:
Error: Number of arguments does not match definition on line 160 |
It should give you an argument type mismatch.
First, scan for the weapon using find_ent_by_class, or find_sphere_class. Use the return from that and then do remove_entity(iEnt) |
Code:
woudl that work? |
Quote:
Code:
|
Thanks, but what is a static?
|
Quote:
|
:(
|
| All times are GMT -4. The time now is 07:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.