Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Kick on certan weapon's?
#11
thanks heap's the message works but it happens on all weapon's witch mean's noone can kill anyone lol but if that can be fixed it would great
Reply

#12
(03-23-2011, 06:39)Pozzuh Wrote: Because you can't just edit the callbackSETUP you need to edit the callback.

it do work with _callbacksetup.gsc... -,-
maybe not sWeapon(eAttacker) --> eAttacker.sWeapon
Reply

#13
ok thanks i tried that but same prob i get the message no matter what gun i use
here is the code
Code:
/*================
Called when a player has been killed.
self is the player that was killed.
================*/
CodeCallback_PlayerKilled(eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration)
{
    self endon("disconnect");
    if(eAttacker.sWeapon == "famas_mp")
    {
        eAttacker IPrintLnBold( "^1testing");
        
    }

    [[level.callbackPlayerKilled]](eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration);
}
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Plugin with !ban !kick and !tampban clemi555 3 4,169 11-09-2013, 09:21
Last Post: clemi555
Question Help Mw2 weapon skin question FroxIVx4 1 2,952 10-13-2013, 16:54
Last Post: hmann
Question Help Weapon Name iRoNinja 8 6,589 10-08-2013, 08:31
Last Post: iRoNinja
  Mw2 weapon porting? Cuddlyedits 3 4,736 09-15-2013, 16:43
Last Post: DidUknowiPwn
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 33,294 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
Exclamation [Request] Random Weapon At Spawn Scripts18 3 4,739 07-27-2013, 23:53
Last Post: DidUknowiPwn
  Help Mw2 weapon skin question FroxIVx4 1 2,922 07-06-2013, 19:22
Last Post: surtek
  [Request] List of all weapon models DidUknowiPwn 3 4,630 04-20-2013, 09:13
Last Post: Dominator56
  [Release] !weapon Plugin 8q4s8 40 25,650 03-24-2013, 17:02
Last Post: X-Track
  [Release] Black Ops ZM & MP weapon ID's JariZ 7 31,002 03-01-2013, 22:04
Last Post: JariZ

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.