20.09.2010, 12:25
on top of the sciprt :
you guys know how to make it to show latest kills ? it didnt even show up
PHP код:
new Text:Textdraw2;
under onplayerdeath
TextDrawShowForAll(Killing);
new playernamehere[MAX_PLAYER_NAME];
new string[128];
new killername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playernamehere, MAX_PLAYER_NAME);
GetPlayerName(killerid, killername, sizeof(killername));
format(string, sizeof(string), " LATEST KILLS : %s has Pwned %d.", playernamehere,killername);
Killing = TextDrawCreate(-1.000000, 431.000000, string);
TextDrawBackgroundColor(Killing, 255);
TextDrawFont(Killing, 2);
TextDrawLetterSize(Killing, 0.300000, 1.000000);
TextDrawColor(Killing, 65535);
TextDrawSetOutline(Killing, 1);
TextDrawSetProportional(Killing, 1);
TextDrawUseBox(Killing, 1);
TextDrawBoxColor(Killing, -16776961);
TextDrawTextSize(Killing, 638.000000, 0.000000);