Display Kills
#5

Edited...


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]);
thx for ur help!!
Reply


Messages In This Thread
Display Kills - by BlackWolf120 - 10.12.2010, 13:11
Re: Display Kills - by BlackWolf120 - 11.12.2010, 15:55
Re: Display Kills - by blackwave - 11.12.2010, 15:59
Re: Display Kills - by veyron - 11.12.2010, 16:11
Re: Display Kills - by BlackWolf120 - 11.12.2010, 16:20
Re: Display Kills - by WillyP - 12.12.2010, 11:56
Re: Display Kills - by WillyP - 12.12.2010, 12:02
Re: Display Kills - by BlackWolf120 - 12.12.2010, 12:05
Re: Display Kills - by DVDK - 12.12.2010, 12:12
Re: Display Kills - by BlackWolf120 - 12.12.2010, 12:25

Forum Jump:


Users browsing this thread: 1 Guest(s)