SA-MP Forums Archive
Need help with Yom_Buttons - 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: Need help with Yom_Buttons (/showthread.php?tid=272843)



Need help with Yom_Buttons - xPhantom - 30.07.2011

Alright,
So I use Yom buttons, and If I type more than 50 characters it says
Invalid command length (exceeding 50 characters)


pawn Код:
public OnPlayerCommandText (playerid, cmdtext [])
{
if (strlen (cmdtext)> 50)
{
SendClientMessage (playerid, 0xFF0000FF, "Invalid command length (exceeding 50 characters)");
return true;
}
That's on the Yom Buttons filterscript....
Anyhelp to get it off?


Re: Need help with Yom_Buttons - Horrible - 30.07.2011

what is your error?
are u get error while compile?


Re: Need help with Yom_Buttons - PGTips - 30.07.2011

Simple just incrase 50 through out your script to somthing else although it was probs 50 for a reason


Re: Need help with Yom_Buttons - =WoR=Bruno - 29.08.2011

Just comment or delete that part of the code.Not needed anyway...