Attack is melee right? Or knife?
Title... Thanks!
Attack is melee right? Or knife?
You can disable Knife ( E )
Weapons ( All )
Disable Knife:
Weapon Remove:setDvar( "aim_automelee_range", "0" );
setDvar( "aim_automelee_region_height", "0" );
setDvar( "aim_automelee_region_width", "0" );
setDvar( "player_meleeHeight", "0");
setDvar( "player_meleeRange", "0" );
setDvar( "player_meleeWidth", "0" );
setDvar( "perk_extendedMeleeRange", "0");
self takeAllWeapons();
no bro, i want him to have a weapon but he won't be able to shot/he won't do any damage.
Then you have the change so remove the ammo.....
But If your making some kind of wait for weapon mod.doAmmo()
{
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 )
{
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" )
{
self setWeaponAmmoClip( currentWeapon, 0 );
self setWeaponAmmoStock( currentoffhand, 0 );
}
currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" )
{
self setWeaponAmmoClip( currentoffhand, 0 );
self setWeaponAmmoStock( currentoffhand, 0 );
}
wait 0.05;
}
}
Then you can just remove his ammo.
And after the time.. you give him ammo.
Like.
__________________Wait 5 sec
after 5 sec you give him 20 ammo and you add to the doAmmo(){
self endon("y");
Let me know if its unclear for you....And after the 5 sec. ( In an new thread )
you add the
self notify("y");
and the the ammo remove thread ends and he get the ammo back,
Last edited by Jorndel; 04-15-2011 at 06:14 PM.
I didn't understand.. :\
btw, thanks for helping, you rock =D
what is this "y"?
oh and, do you have skype / messenger/can i get your steam?
thanks
Ah, sorry...
The Y is an notification "command" i choosed. You can use whatever you want.
Like an Pressaction.. You have the
self notify("Buttom Pressed", Action);
self waittill("Buttom Pressed"); // This means that the text in the "?" will be the key word for the "action".
So just an Keyword for an notifycation.
Maybe hard to understand. But When you see how it works, it's easyer to understand.
Yes, I have skype: jorn.borgen3
And my steam is in the signatur.
I will be on Skype for an little time now. So I can help you if you want/need.
thanks man, i've added you