Weapon function
user_has_weapon ( index, weapon, [ setweapon ] )
How can I check if a player is carrying a weapon or not? (not what weapon or anything, just something that tells me when they are carrying a weapon and when they are not) |
Code:
Correct me if I'm wrong... |
so if i do this
Code:
It will only print when he has a weapon? (of course when I put it so the server checks every x seconds) And how do I define weapon and set weapon? new weapon, setweapon? |
Putting new setweapon does not work. Someone please explain to me how that function works?
|
register the event "CurWeapon" and then do a check if they are carrying the weapon
Code:
|
Will the same thing work for The Specialists (I don't mean the CSW Knife part. Thats only for cs from what i understand)?
|
Oh, I'm not user about TS. I dont think that the event is the same.
|
Well thanks for trying. Anyone know about ts?
Oh and Suicid, do you know anything about smoke? |
The "WeaponInfo" event is should do what you want in TS
|
Can you show me how to do that please?
|
| All times are GMT -4. The time now is 16:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.