17.08.2010, 22:01
(
Последний раз редактировалось Kitten; 24.11.2013 в 04:57.
)
Solved
public OnPlayerDeath(playerid, killerid, reason)
{
new string1[24],string2[24];
Kills[killerid] ++;
Deaths[playerid] ++;
format(string1,sizeof(string1),"Kills: %d",Kills[killerid]);
format(string2,sizeof(string2),"Deaths: %d",Deaths[playerid]);
TextDrawSetString(Textdraw0,string1);
TextDrawSetString(Textdraw1,string2);
return 1;
}
OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,Textdraw0);
TextDrawShowForPlayer(playerid,Textdraw1);
TextDrawShowForPlayer(playerid,Textdraw2);
TextDrawShowForPlayer(playerid,Textdraw3);
TextDrawShowForPlayer(playerid,Textdraw4);
}