|
Author
|
Message
|
|
Member
|

04-10-2017
, 16:07
Re: [HELP] VoteKick Menu
|
#1
|
Quote:
Originally Posted by DarthMan
Well, shure. A good friend helped me, here is what solved my problem.
Code:
get_user_name(i,szPlayerName,charsmax(szPlayerName))
new userid_as_string[16];
num_to_str(get_user_userid(i), userid_as_string, charsmax(userid_as_string));
menu_additem(menu_kick, szPlayerName, userid_as_string, 0);
And then I just used menu_item_getinfo to get the userid_as_string info from szData.
|
Thank you! Also, mark your thread as "solved" by editing the title and set the prefix to [SOLVED]
- LegacyCode
|
|
|
|