forward destroy(playerid);
SetTimer("destroy", 5000, 0);
public destroy(playerid) { TextDrawDestroy(Textdraw0); TextDrawDestroy(Textdraw1); TextDrawDestroy(Textdraw2); TextDrawDestroy(Textdraw4); TextDrawDestroy(Textdraw5); TextDrawDestroy(Textdraw6); TextDrawDestroy(Textdraw8); TextDrawDestroy(Textdraw9); TextDrawDestroy(Textdraw10); TextDrawDestroy(Textdraw11); TextDrawDestroy(Textdraw12); return 1; }
Originally Posted by Rk_
try TextDrawHideForPlayer.
And note, for what are you using (playerid) argument. just do: forward destroy(); public destroy() { } And what i said above. |
: error 017: undefined symbol "playerid" : error 017: undefined symbol "playerid" : error 017: undefined symbol "playerid" : error 017: undefined symbol "playerid" : error 017: undefined symbol "playerid" : error 017: undefined symbol "playerid" : error 017: undefined symbol "playerid" : error 017: undefined symbol "playerid" : error 017: undefined symbol "playerid" : error 017: undefined symbol "playerid"
public destroy() { TextDrawHideForPlayer(playerid, Textdraw0); TextDrawHideForPlayer(playerid, Textdraw1); TextDrawHideForPlayer(playerid, Textdraw2); TextDrawHideForPlayer(playerid, Textdraw4); TextDrawHideForPlayer(playerid, Textdraw5); TextDrawHideForPlayer(playerid, Textdraw6); TextDrawHideForPlayer(playerid, Textdraw8); TextDrawHideForPlayer(playerid, Textdraw9); TextDrawHideForPlayer(playerid, Textdraw10); TextDrawHideForPlayer(playerid, Textdraw11); TextDrawHideForPlayer(playerid, Textdraw12); }
forward destroy(playerid);
public destroy(playerid)
{
return 1;
}
Originally Posted by Rk_
excuse me, use the (playerid) argument again in public function.
DOn't forget to change the forward(). |