/setadminname SS
#5

Quote:
Originally Posted by gurmani11
Посмотреть сообщение
My eyes hurt when i saw ur code....
His code looks better than yours, tbh. It's easier to read through.

O.T.: a player's name can have a maximum length of 24. Giving the variable a size of 25 and higher is unnecessary. Have you tested the code with a second player instead of on yourself?

EDIT: if it works on someone else, then you should update your sscanf include (to sscanf2 or a newer version of sscanf2). You could also use the 'r' specifier instead of 'u', if you're not planning on using the command on NPCs.
Reply


Messages In This Thread
/setadminname SS - by Usama651 - 23.07.2016, 16:26
Re: /setadminname SS - by Quinncell - 23.07.2016, 16:31
Re: /setadminname SS - by Usama651 - 23.07.2016, 16:38
Re: /setadminname SS - by gurmani11 - 23.07.2016, 16:59
Re: /setadminname SS - by AndySedeyn - 23.07.2016, 17:08
Re: /setadminname SS - by SickAttack - 23.07.2016, 17:20
Re: /setadminname SS - by gurmani11 - 23.07.2016, 17:30
Re: /setadminname SS - by AndySedeyn - 23.07.2016, 17:39
Re: /setadminname SS - by SickAttack - 23.07.2016, 17:43
Re: /setadminname SS - by gurmani11 - 23.07.2016, 18:01

Forum Jump:


Users browsing this thread: 3 Guest(s)