Help with an uwc3x item
Y have made an item for the uwc3x mod that makes you for 10 seconds completly invizible but its to powerfull and y want to make it to be able to attack only with the knife while invs.
Here is the code for the item. Activation on invizibility. Code:
if( playeritem3[id] == INVIS)Code:
else if( reset_item == 3 ) |
Re: Help with an uwc3x item
Bump.
Y would really apreciate some help. |
Re: Help with an uwc3x item
Come on guys a little help please.
|
Re: Help with an uwc3x item
if(get_user_weapon(id) != CSW_KNIFE) // user does not have knife up
... |
Re: Help with an uwc3x item
ok so that is for puting a knife to the user.And to remove it after the invisibiliti is gone?
|
Re: Help with an uwc3x item
bump
|
Re: Help with an uwc3x item
for first :
why PHP Code:
2. why you dont check the weapon and set a task for xxx sec. to setting/remove rendering? to check the weapon : PHP Code:
|
Re: Help with an uwc3x item
you guys dindt uderstood wath y want.
Y want to put when this task in activated if ( playeritem3[id] == INVIS) that only the knife could be used and after the task expires the weapons to be given back |
Re: Help with an uwc3x item
if ( playeritem3[id] == INVIS && get_user_weapon(id) == CSW_KNIFE)
|
Re: Help with an uwc3x item
y tried it but it only make me invizible when if y have the knife in my hand.
Y want this item to make me invisible but while y am invisible not to be able to use anithing else then the knife and not to be able to pickup anithing.After the time of the item passes y want to be able to use my guns again. Did you understod now? Thanks for the help until now. |
| All times are GMT -4. The time now is 13:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.