My hit system clientmessages
#2

It's because you're getting the name of player "id" before you extracted the value from sscanf.
Move both GetPlayerName statements below sscanf.

Since "id" doesn't have a value yet, it remains 0, so you're always getting the name of playerid 0, not the one you put behind your command.
Reply


Messages In This Thread
My hit system clientmessages - by vassilis - 09.01.2015, 16:06
Re: My hit system clientmessages - by PowerPC603 - 09.01.2015, 17:34
Re: My hit system clientmessages - by vassilis - 09.01.2015, 17:44

Forum Jump:


Users browsing this thread: 2 Guest(s)