11.06.2012, 00:55
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(Player[killerid][Nozumbi] == true)
{
if(Player[killerid][cop] == true)
{
Matouzumbi++;
format(Str, sizeof(Str), "~b~cops: ~w~%d", Matouzumbi);
TextDrawSetString(cop[killerid], Str);
TextDrawShowForPlayer(playerid, cop[killerid]);
}
if(Player[killerid][zumbi] == true)
{
Matoucop++;
format(Str, sizeof(Str), "~r~zumbis: ~w~%d", Matoucop);
TextDrawSetString(zumbi[killerid], Str);
TextDrawShowForPlayer(playerid, zumbi[killerid]);
}