11.08.2009, 20:39
How to Enable Textdraw when type a command and disable when type the same command ??
new bool:textdrawon[MAX_PLAYERS];
textdrawon[playerid] = false;
if(textdrawon[playerid] == false)
{
TextDrawShowForPlayer(...);
textdrawon[playerid] = true;
}
else if(textdrawon[playerid] == true)
{
TextDrawHideForPlayer(....);
textdrawon[playerid] = false;
}
Originally Posted by Scott[LT
]
create a variable, like: pawn Code:
pawn Code:
pawn Code:
|