Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
You have to create a TextDraw for every player. Textdraw0 is shown to every player, and if its text changes for one, it changes for everyone.
Make it an array.
TextDrawShowForPlayer(playerid,Textdraw0[playerid]);
TextDrawSetString(Textdraw0[killerid], string);
Posts: 560
Threads: 32
Joined: Aug 2010
Reputation:
0
On top
new Text:LevelTD[MAX_PLAYERS];
On spawn
TextDrawShowForPlayer(playerid,LevelTD[playerid]);
on death
new string[16];
format(string, sizeof(string), "Level: %d/17",WeaponLevel[killerid]);
TextDrawSetString(LevelTD[playerid], string);
And for who you want that he get weap skill, killerid or playerid ?
if killer than
TextDrawSetString(LevelTD[killerid], string);