I have this declared as global var:
Code:
g_playerReady[33][2][32]
And I'm trying to format.. but smthing it's wrong. What am I doing wrong?..
Code:
get_user_name(id, plr_name, charsmax(plr_name))
formatex(g_playerReady[id][0], charsmax(g_playerReady[]), "Unready")
formatex(g_playerReady[id][1], charsmax(g_playerReady[]), plr_name)
I used this to display the string on the screen so I can see where the problem is..
Code:
if(equali(command, "check"))
{
client_print(id, print_chat, "%s a", g_playerReady[id][0])
client_print(id, print_chat, "%s a", g_playerReady[id][1])
}
In chat shows " a"...