28.11.2011, 17:02
New problem.
Now I want to do the same thing with 4 numbers.
It doesn't work.
Now I want to do the same thing with 4 numbers.
It doesn't work.
pawn Код:
public OnPlayerText(playerid, text[])
{
if(Bit16_Get(g_ClassChoose, playerid) == 1)
{
if(!strcmp(text,"1||2||3||4"))
{
TextDrawHideForPlayer(playerid,Textdraw0);
TextDrawHideForPlayer(playerid,Textdraw1);
TextDrawHideForPlayer(playerid,Textdraw2);
TextDrawHideForPlayer(playerid,Textdraw3);
TextDrawHideForPlayer(playerid,Textdraw4);
TextDrawHideForPlayer(playerid,Textdraw5);
TextDrawHideForPlayer(playerid,Textdraw6);
}
}
return 1;
}