28.01.2011, 02:41
Have you actually replaced your messages with "bla bla," if so then you should let us see the original code as you could have messed up within your format(). The other messages don't particularly matter, but just in-case you've tried to add an %/placeholder where they shouldn't be...
For the love of god, you don't need 256-cell strings.
and
is probably the source of your crash, change your code to:
and for your other command...
Fix for it...
For the love of god, you don't need 256-cell strings.
and
pawn Код:
new question;
if(sscanf(params, "z", question))
pawn Код:
new question[128];
if(sscanf(params, "z", question)) // question needs to be a string, not an integer
pawn Код:
dcmd_report(playerid, params[])
{
new targetid, reason;
if(sscanf(params, "uz", targetid, reason)) return SendClientMessage(playerid, COLOR_USAGE, "bla bla");
pawn Код:
dcmd_report(playerid, params[])
{
new targetid, reason[128];
if(sscanf(params, "uz", targetid, reason)) return SendClientMessage(playerid, COLOR_USAGE, "bla bla");