11.03.2013, 08:43
Very nice!
So, if I want to see if a player has entered a selection ( 1, 2, 3, etc ), it's like this, right?
Correct me if I'm wrong 
I'm going to try to make something with this :3
---
Btw,
on your native list :
but in your example ( not the cmd! )
( notice that the 'b' at "Box" is capitalized )
I think PAWN is case-sensitive!
So, if I want to see if a player has entered a selection ( 1, 2, 3, etc ), it's like this, right?
pawn Code:
public OnPlayerText( playerid, text[ ] )
{
if ( IsPlayerViewingTDBox( playerid, test_box ) )
{
if ( strval( text ) == 4 ) // Close box!
return HideTDboxForPlayer( playerid, test_box ), 0; // Hides the box and return 0, so the message will not be send!
}
return 1;
}

I'm going to try to make something with this :3
---
Btw,
on your native list :
pawn Code:
native HideTDboxForPlayer(playerid, boxid);
pawn Code:
HideTDBoxForPlayer(playerid, h_box);
I think PAWN is case-sensitive!

