Author Topic: onPlayerWeaponChange doesn't work  (Read 1207 times)

rwwpl

  • Full Member
  • ***
  • Posts: 126
  • Karma: +18/-6
  • LU-DM Team
    • View Profile
    • LU-DM Team
onPlayerWeaponChange doesn't work
« on: August 20, 2014, 06:29:39 pm »
Code: [Select]
function onPlayerWeaponChange(player,old,new)
{
if (new==WEP_UZI)
{
MessagePlayer("** Test message!",player);
KickPlayer(player);
}
return 1;
}


And


xMerkel

  • Newbie
  • *
  • Posts: 34
  • Karma: +1/-12
  • Cpp
    • View Profile
Re: onPlayerWeaponChange doesn't work
« Reply #1 on: August 20, 2014, 08:45:02 pm »
is ...

Code: [Select]
function onPlayerWeaponChange ( pPlayer, Old, New, Ammo ) {

}

rwwpl

  • Full Member
  • ***
  • Posts: 126
  • Karma: +18/-6
  • LU-DM Team
    • View Profile
    • LU-DM Team

 

© Liberty Unleashed Team.