OnPlayerText
#5

One very important thing you are overlooking is that text also contains the command itself; ZCMD's params doesn't. You could probably solve this with a quiet specifier.
pawn Код:
sscanf(text,"{s[10]}us[50]",ID,reason)
Oh, you also forget to send the message if the playerid is invalid, which is probably why nothing happens.
Reply


Messages In This Thread
OnPlayerText - by DarkLored - 31.03.2014, 03:28
Re: OnPlayerText - by DarkLored - 31.03.2014, 03:59
Re: OnPlayerText - by LocMax - 31.03.2014, 05:31
Re: OnPlayerText - by DarkLored - 31.03.2014, 22:23
Re: OnPlayerText - by Vince - 31.03.2014, 22:29
Re: OnPlayerText - by DarkLored - 31.03.2014, 22:39
Re: OnPlayerText - by Jefff - 31.03.2014, 22:49
Re: OnPlayerText - by DarkLored - 31.03.2014, 23:13
Re: OnPlayerText - by SickAttack - 01.04.2014, 01:22
Re: OnPlayerText - by Threshold - 01.04.2014, 04:24

Forum Jump:


Users browsing this thread: 2 Guest(s)