SA-MP Forums Archive
/reportbug command isn't working. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /reportbug command isn't working. (/showthread.php?tid=631394)



/reportbug command isn't working. - MyUndiesSmell - 28.03.2017

Cannot find a solution.

[ERRORS]
Код:
error 001: expected token: ",", but found "-string-"
warning 215: expression has no effect
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
The line of code that receives the errors above

Код:
if(sscanf(params, "s[64]", text)) return SendClientMessage(playerid, COLOR_SERVER "Incorrect format. Use /reportbug [description]");



Re: /reportbug command isn't working. - Toroi - 28.03.2017

You forgot to separate the color and the string parameter with a comma.


Re: /reportbug command isn't working. - MyUndiesSmell - 28.03.2017

Quote:
Originally Posted by Troydere
Посмотреть сообщение
You forgot to separate the color and the string parameter with a comma.
I feel dumb now. Thank you. Repped.