15.11.2013, 14:39
Quote:
Under the OnPlayerClickTextDraw callback
pawn Код:
|
pawn Код:
public OnPlayerClickTextDraw( playerid, Text: clickedid )
{
if( clickedid == Text: INVALID_TEXT_DRAW )
{
PlayerTextDrawHide( playerid, ... );
// code..
return 1;
}
return 0;
}
public OnPlayerClickPlayerTextDraw( playerid, PlayerText: playertextid )
{
if( playertextid == ... )
{
// code..
CancelSelectTextDraw( playerid );
}
return 0;
}