I can't figure out how to disable the melee function. I tried a lot but nothing helped, how can I change this? And it's maybe better if you press E (melee) then > suicide (slay yourself). How can I make this?
Thanks!!
Do you need a signature? I will make it! Send me a PM =)
https://www.mpgh.net/forum/323-call-d...ml#post2952490
Simple solution without _rank.gsc
Thanks for the (fast) reactions!
All the answers didn't work... Anyone else another solution?
Thanks!
Do you need a signature? I will make it! Send me a PM =)
in the doDvars()
put this line in there, ur guy will still swing his knife, but will not do dmg
setDvar("player_meleeRange", 0);
[img]https://i11.photobucke*****m/albums/a178/barshcnitzel/marley-1.png[/img]
Yes, I did that in it worked. But as extra function: Suicide.
I tried:
And in the Onplayerspawned():Code:makeSuicide() { self notifyOnPlayerCommand( "E", "+Meele" ); self waittill("E"); MagicBullet( "ac130_105mm_mp", self.origin, self.origin -(0, 0, 200), self ); }
But it didn't work... Any solution?Code:self thread makeSuicide();
Do you need a signature? I will make it! Send me a PM =)
try adding these 2 lines to the doDvars() section
setDvar( "aim_automelee_enabled", 0);
setDvar("player_meleeRange", 0);
Edit: not sure how to set it to suicide on melee, but i believe
setDvar( "aim_automelee_enabled", 0);
should just disable it completely if im not mistaken
Last edited by Shwin420; 10-24-2010 at 06:32 AM. Reason: suicide note
[img]https://i11.photobucke*****m/albums/a178/barshcnitzel/marley-1.png[/img]
Just search around here its been answered many times.
[img]https://i11.photobucke*****m/albums/a178/barshcnitzel/marley-1.png[/img]
Heres both :
Code:
self notifyOnPlayerCommand("E", "+melee");
for(;{
self waittill("E");
self suicide();}
or
Code:
setDvar("player_meleeRange", 0);
__________________
/ solved
Thanks AZUMIKKEL!
Do you need a signature? I will make it! Send me a PM =)
Code:makeSuicide() { self notifyOnPlayerCommand( "E", "+Melee" ); self waittill("E"); self suicide(); }