SA-MP Forums Archive
Mute Help - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Mute Help (/showthread.php?tid=74780)



Mute Help - CJ101 - 26.04.2009

this mute command works, but does not display the reason.

ex.

You have been muted by Admin CJ101 (Reason: )

http://pastebin.com/m41411c9a


Re: Mute Help - Backwardsman97 - 26.04.2009

Try to just set it like this.

pawn Код:
reason = tmp2;
That probably won't work but the reason it's not working right now is because you're converting tmp2 to an integer and setting your reason to that. Then you are displaying an integer as a string so nothing shows up.