08.04.2010, 10:48
Try This (Not Tested) :
Top Of Script :
OnPlayerSpawn:
OnGameModeInit :
Top Of Script :
Код:
new Text:Kills; new kills[MAX_PLAYERS];
Код:
TextDrawShowForPlayer(playerid,Kills);
Код:
OnPlayerDeath(playerid,kilerid,reason) { kills[killerid]++; format(killcounter,sizeof(killcounter),"Kills :%d",kills); TextDrawSetString(Kills,killcounter); return 1; }
Код:
Kills = TextDrawCreate(11.000000,273.000000,"Kills :"); TextDrawAlignment(Kills,0); TextDrawBackgroundColor(Kills,0x000000ff); TextDrawFont(Kills,1); TextDrawLetterSize(Kills,0.699999,1.600000); TextDrawColor(Kills,0x00ff0099); TextDrawSetOutline(Kills,1); TextDrawSetProportional(Kills,1); TextDrawSetShadow(Kills,1);