21.06.2016, 11:12
I Am Trying To make That When A Person Press n in keyboard the textdraw hide but it is not hiding that worng
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { #define PRESSED(%0) \ (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0))) if (PRESSED(KEY_NO)) { TextDrawHideForPlayer(playerid,Textdraw0); TextDrawHideForPlayer(playerid,Textdraw1); TextDrawHideForPlayer(playerid,Textdraw2); TextDrawHideForPlayer(playerid,Textdraw3); TextDrawHideForPlayer(playerid,Textdraw4); TextDrawHideForPlayer(playerid,Textdraw5); TextDrawHideForPlayer(playerid,Textdraw6); TextDrawHideForPlayer(playerid,Textdraw7); TextDrawHideForPlayer(playerid,Textdraw8); TextDrawHideForPlayer(playerid,Textdraw9); TextDrawHideForPlayer(playerid,Textdraw10); }