Help [reps]
#1

Hello, How to make the menu in mselection hide when press ESC? because its keep bugging..
Reply
#2

pawn Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
    if( _:playertextid == INVALID_TEXT_DRAW )//ESC pressed
    {
    //hide the text draw
    }
return 1;
}
Reply
#3

pawn Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
    if(playertextid == gPlayerTextDraw[playerid])
    {
         SendClientMessage(playerid, 0xFFFFFFAA, "You clicked on a textdraw.");
         CancelSelectTextDraw(playerid);
    }
    return 1;
}
Use the wiki.
Reply
#4

Quote:
Originally Posted by ManuelNeuer
Посмотреть сообщение
pawn Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
    if(playertextid == gPlayerTextDraw[playerid])
    {
         SendClientMessage(playerid, 0xFFFFFFAA, "You clicked on a textdraw.");
         CancelSelectTextDraw(playerid);
    }
    return 1;
}
Use the wiki.
he knows that much
READ WHAT HE WRITEd ...
Reply
#5

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
he knows that much
READ WHAT HE WRITEd ...
In fact, The guy doesn't know even how to search, Because if did search he wouldn't need help.
Reply
#6

I'v searched, at last , to fix this problem you will need to update your MSelection.inc !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)