Author Topic: To give money to the killer  (Read 1122 times)

CANYON

  • Newbie
  • *
  • Posts: 29
  • Karma: +1/-0
    • View Profile
To give money to the killer
« on: August 22, 2012, 01:14:55 am »
so?

Code: [Select]
function onPlayerKill( killer, player, reason, bodypart )
{
     killer.Cash += 10000;
     
     return 1;
}

Vortrex

  • Full Member
  • ***
  • Posts: 267
  • Karma: +54/-73
    • View Profile
Re: To give money to the killer
« Reply #1 on: August 22, 2012, 03:45:08 am »
What exactly do you need help with? That snippet should already work.

CANYON

  • Newbie
  • *
  • Posts: 29
  • Karma: +1/-0
    • View Profile
Re: To give money to the killer
« Reply #2 on: August 22, 2012, 04:08:53 am »
needed check

 

© Liberty Unleashed Team.