SA-MP Forums Archive
client exceeded 'messageslimit' - 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: client exceeded 'messageslimit' (/showthread.php?tid=643269)



client exceeded 'messageslimit' - 0x88 - 16.10.2017

When players press ESC the textdraw will be hidden but it's only works in first-time they press.
Textdraw will not be shown after pressing ESC also if I call ShowFoodMenu again, the textdraw will be shown but they are not clickable anymore, and messageslimit msg starts to spam..

NOTE: FoodMenu textdraws are related to PlayerText

Код:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{  
    if(_:clickedid == INVALID_TEXT_DRAW)
    {
        CancelSelectTextDraw(playerid);
    	ShowFoodMenu(playerid, false);
    }
    return 0;
}



Re: client exceeded 'messageslimit' - Kane - 16.10.2017

https://sampforum.blast.hk/showthread.php?tid=636051

"CancelSelectTextDraw" calls "OnPlayerClickTextDraw" whenever used.


Re: client exceeded 'messageslimit' - 0x88 - 16.10.2017

Quote:
Originally Posted by Arthur Kane
Посмотреть сообщение
https://sampforum.blast.hk/showthread.php?tid=636051

"CancelSelectTextDraw" calls "OnPlayerClickTextDraw" whenever used.
Yep I just noticed I have like 3 CancelSelectTextDraw actions under a command line.