sscanf bug?
#2

PHP код:
if(sscanf(params"us[128]"VotekickPlayerIDVotekickReason))
{
SendClientMessage(playerid, -1"[Error:] /votekick <id> <reason>");

If you don't tell the script to stop there, it wont, so either the command issued is wrong or bad, the rest of the command will execute.

Use return in the code above for the rest of the command to stop executing.
Reply


Messages In This Thread
[SOLVED] - by AfiqIqbal - 10.06.2017, 08:20
Re: sscanf bug? - by Toroi - 10.06.2017, 08:24
Re: sscanf bug? - by AfiqIqbal - 10.06.2017, 09:07
Re: sscanf bug? - by saffierr - 10.06.2017, 13:34
Re: sscanf bug? - by AfiqIqbal - 11.06.2017, 07:33
Re: sscanf bug? - by AfiqIqbal - 11.06.2017, 18:52

Forum Jump:


Users browsing this thread: 1 Guest(s)