How do i increase player money

Started by NicusorN5, Jan 24, 2016, 12:41 PM

Previous topic - Next topic

NicusorN5

I tried
function onPlayerKill( player, killer, reason, bodypart )
{
 killer.Money +=1000 ;
}

Also i changed my name , connected to my server and i found that i cant kill the other character :( .

Can u help me :D ?

KAKAN

Well, use this:-
onPlayerKill( killer, player, reason, bodypart ){
//Do shits here
}
oh no

jayant

function onPlayerKill( player, killer, reason, bodypart )
{
 killer.Cash += 1000 ;//Increase the killer's money to 1000
 player.Cash -=500;//Decrease 500 from player who got killed
}