Problem with GetName
#3

Are you sure that's the error line? Looks fine to me.

Also, you should use MAX_PLAYER_NAME+1 as your length and string size. Max name is 24, but strings require one more cell for a 'null-terminating' character to denote the end of the string. Either that of set it to 25.
Reply


Messages In This Thread
Problem with GetName - by Salim_Karaja - 05.04.2013, 07:37
Re: Problem with GetName - by Rohan_Ubhare - 05.04.2013, 08:59
Re: Problem with GetName - by MP2 - 05.04.2013, 09:55
Re: Problem with GetName - by JaKe Elite - 05.04.2013, 10:37

Forum Jump:


Users browsing this thread: 1 Guest(s)