14.06.2017, 21:29
Sorry but where should i put this?
Code:
new Name[5][MAX_PLAYER_NAME], string[5][64]; GetPlayerName(first, Name[0], MAX_PLAYER_NAME); GetPlayerName(second, Name[1], MAX_PLAYER_NAME); GetPlayerName(third, Name[2], MAX_PLAYER_NAME); GetPlayerName(fourth, Name[3], MAX_PLAYER_NAME); GetPlayerName(fifth, Name[4], MAX_PLAYER_NAME); format(string[0], sizeof(string[0]), "~R~#1 - ~W~%s", Name[0],); format(string[1], sizeof(string[1]), "~R~#2 - ~W~%s", Name[1],); format(string[2], sizeof(string[2]), "~R~#3 - ~W~%s", Name[2],); format(string[3], sizeof(string[3]), "~R~#4 - ~W~%s", Name[3],); format(string[4], sizeof(string[4]), "~R~#5 - ~W~%s", Name[4],); TextDrawSetString(Textdraw19, string[0]); TextDrawSetString(Textdraw20, string[1]); TextDrawSetString(Textdraw21, string[2]); TextDrawSetString(Textdraw22, string[3]); TextDrawSetString(Textdraw23, string[4]); TextDrawShowForPlayer(playerid, Textdraw19); TextDrawShowForPlayer(playerid, Textdraw20); TextDrawShowForPlayer(playerid, Textdraw21); TextDrawShowForPlayer(playerid, Textdraw22); TextDrawShowForPlayer(playerid, Textdraw23);