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..
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 );
}
Thnx.. Solved...