Help with Drop-weapon script
I am writing a simple script for use with CSDM on scoutzknivez. The script should drop the scout whenever the player spawns(not just on a new round). Tell me what I'm doing wrong? :D
Code:
#include <amxmodx> |
Re: Help with Drop-weapon script
Why don't you tell us what the problem is and then maybe we can tell you what you are doing wrong.
|
Use this:
Code:
instead of this: Code:
if you want them to not start out with it u r going to have to use the event CurWeapon and set up som code to tell when its there first time getting their weapon and then drop it. OR you could just use a timer off of ResetHUD and wait like...ooo...half a second; then you could drop it. |
OK, sorry I didn't type the problem before, I thought I did. :lol:
Problem is that it takes like 5 seconds for the scout to be dropped when it needs to be dropped before the CSDM weapon selection comes up. TIA |
I don't think I can help you, but in regards to doomy: "drop weapon_scout" will work just as "drop". However, "drop" only works in dropping the scout if you have it selected; "drop weapon_scout" will drop the scout no matter what weapon you have out.
|
this
Code:
should be this Code:
|
Quote:
|
Here you go :
Code:
|
| All times are GMT -4. The time now is 19:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.