11.07.2010, 20:08
as much I understood you want a script that transfer the killed player to the team of the killer if the weapon was a knife and the killed guy wasnt in the same team
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(reason == 4) // Knife
{
SetPlayerTeam(killerid, GetPlayerTeam(playerid));
}
}