19.04.2013, 17:42
Apart of not returning a value i don't see anything in that code.
Post the TextDraw8 info+ definition.
If you don't have the following code add it under the includes.
pawn Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
if(playertextid == Textdraw8[playerid])
{
PlayerTextDrawDestroy(playerid, Textdraw8[playerid]);
}
return 1;//Return 1 here.
}
If you don't have the following code add it under the includes.
pawn Код:
new PlayerText:Textdraw8[MAX_PLAYERS];