30.08.2010, 07:12
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);
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);