Team kill Help!

Started by Diamond, Nov 02, 2015, 09:45 AM

Previous topic - Next topic

Diamond

I wanted to make free skin system, i changed one or to team to -1 or 255 and the players can get killed.. but they did not got money..

and i even didnt entered exception for same team on onPlayerKill..

So, i want to know how can i make the killer get money and who got killed to lose money..

KAKAN

#1
Add this to your script:-
function onPlayerTeamKill( killer, player, reason, bodypart )  onPlayerKill( killer, player, reason, bodypart );Else add this:-
function onPlayerTeamKill( killer, player, reason, bodypart ) {
if( killer.Team == 1 ) onPlayerKill( killer, player, reason, bodypart );
}
oh no

Diamond

#2
Thnx.. Solved...