12.07.2010, 10:04
"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.
Start with that anyway, could be more/less, dunno.