How to get a maximum arrays in GetUserName
KirovNoName opened this issue · 3 comments
KirovNoName commented
is this correct?
new dcname[DCC_ID_SIZE];
DCC_GetUserName(user, dcname, 16);
AtlanticCityRoleplay commented
is this correct?
new dcname[DCC_ID_SIZE]; DCC_GetUserName(user, dcname, 16);
Wrong,
For Getting User name
new dcname[DCC_USERNAME_SIZE];
DCC_GetUserName(user, dcname, sizeof(dcname));
iBRabbit commented
This should work :
new dcname [DCC_USERNAME_SIZE];
DCC_GetUserName(user, dcname);
KirovNoName commented
thanks