pm command
#2

"msg" should be a string array not an integer, you should check "cmdtext" not "cmdtext[idx]", the "giveplayerid" variable needs a seperate statement not to be stuck onto the else of the sscanf statement and it should have a connection check not just an invalid player check.

Start with that anyway, could be more/less, dunno.
Reply


Messages In This Thread
pm command - by legodude - 12.07.2010, 08:56
Re: pm command - by Donny_k - 12.07.2010, 10:04

Forum Jump:


Users browsing this thread: 1 Guest(s)