10.05.2010, 09:31
I have this code
But when anybody uses this command, then it will hide this textdraws for every player.
How can i do that it hides only for that player who did /hidetext ?
pawn Код:
if (strcmp("/hidetext", cmdtext, true, 10) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
TextDrawHideForPlayer(i, Announcements); SendClientMessage(playerid, COLOR_GOLD, "Info textdraws are now hiden - use /showtext to enable textdraws");
return 1;
}
How can i do that it hides only for that player who did /hidetext ?