client exceeded 'messageslimit'
#1

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;
}
Reply
#2

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

"CancelSelectTextDraw" calls "OnPlayerClickTextDraw" whenever used.
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)