11.12.2010, 16:20
Edited...
Whats wrong with the code?
nothing appears behind Kills:
This is all ive got (all that has sth in common with this textdraw)
thx for ur help!!
Whats wrong with the code?
nothing appears behind Kills:
This is all ive got (all that has sth in common with this textdraw)

pawn Код:
new Text:killtext;
//OnGameModeInit:
killtext = TextDrawCreate(518.000000, 134.000000, "Kills:");
TextDrawBackgroundColor(killtext, 255);
TextDrawFont(killtext, 1);
TextDrawLetterSize(killtext, 0.500000, 1.000000);
TextDrawColor(killtext, -65281);
TextDrawSetOutline(killtext, 1);
TextDrawSetProportional(killtext, 1);
//OnPlayerSpawn
TextDrawShowForPlayer(playerid, killtext);
//OnPlayerDeath:
tode[playerid]++;
if(killerid!=INVALID_PLAYER_ID) {
kills[killerid]++; }
//the kills of the players shall not be resetet theyre saved and loaded from a file:
//load
kills[playerid]=(playerid,dini_Int(accFormat,"Kills"));
deaths[playerid]=(playerid,dini_Int(accFormat,"Deaths"));
//save under OnPlayerDisconnect:
dini_IntSet(accFormat,"Kills",kills[playerid]);
dini_IntSet(accFormat,"Deaths",deaths[playerid]);

