Topic: [solved] anyone can help me ? game.cpp
yeah subject
how to use snprintf (account) on game.cpp
i see : extern int game_add_player(t_game * game, char const * pass, int startver, t_connection * c)
there are using -> t_account * * tempp; why ?
and i add this code :
snprintf(msgtemp, sizeof(msgtemp), "Name: %s", account_get_age(account));
message_send_text(c, message_type_talk, c, msgtemp);
but error :3
server\source\src\bnetd\game.cpp(1671): error C2065: 'account' : undeclared identifier