28.12.2013, 20:01
Hi.
I have a trouble with a textdraw.
I am a textdraw (Which works well) to be able to view player statistics.
However, I am a textraw order to close it (the textdraw So called "close"), but it does not close anything ...
In my command for show the textdraw:
And in: OnPlayerClickPlayerTextDraw
Can you help me?
I have a trouble with a textdraw.
I am a textdraw (Which works well) to be able to view player statistics.
However, I am a textraw order to close it (the textdraw So called "close"), but it does not close anything ...
pawn Код:
new PlayerText:Test12[MAX_PLAYERS];
pawn Код:
PlayerTextDrawShow(playerid, Test12[playerid]);
pawn Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
if(playertextid == Test12[playerid])
{
CancelSelectTextDraw(playerid);
}
PlayerTextDrawHide(playerid, Test0[playerid]);
return 1;
}