23.03.2010, 14:47
Para TDM.
їMataste a tu compaсero?
їMataste a tu compaсero?
Code:
public OnPlayerDeath(playerid, killerid, reason)
{
if(gTeam[playerid] == 1 && gTeam[killerid] == 1)
{
SetPlayerScore(killerid,(GetPlayerScore(killerid))-1);
new string[50];
format(string, sizeof(string), "~r~No mates a tus compaсeros");
GameTextForPlayer(killerid, string, 3000, 4);
PlayerPlaySound(killerid, 1002, 0.0, 0.0, 0.0);
SetPlayerHealth(killerid, 0.0);
return true;
}
//Y asн lo mismo con tantos equipos como tengais.
return 1;
}

