08.04.2010, 12:41
Quote:
Originally Posted by Etch ❽ H
Try This (Not Tested) :
Top Of Script : Код:
new Text:txtKills[MAX_PLAYERS]; new kills[MAX_PLAYERS]; Код:
TextDrawShowForPlayer(playerid,txtKills[playerid]); Код:
OnPlayerDeath(playerid,kilerid,reason) { new szString[128]; kills[killerid]++; format(szString,sizeof(szString),"Kills :%d",kills[killerid]); TextDrawSetString(txtKills[killerid],szString); return 1; } Код:
for(new i=0;i<MAX_PLAYERS;i++) { txtKills[i] = TextDrawCreate(11.000000,273.000000,"Kills :0"); TextDrawAlignment(txtKills[i],0); TextDrawBackgroundColor(txtKills[i],0x000000ff); TextDrawFont(txtKills[i],1); TextDrawLetterSize(txtKills[i],0.699999,1.600000); TextDrawColor(txtKills[i],0x00ff0099); TextDrawSetOutline(txtKills[i],1); TextDrawSetProportional(txtKills[i],1); TextDrawSetShadow(txtKills[i],1); } |