[DUV] Cmds
#1

Pessoal fiz um cmd de quando a pessoa digita /cmds aparece em textdraw os cmd , mais ele fica na tela e с sai qria que vcs me ajudasse colocar para aperta /cmds de novo ai desliga!

Код:
if(strcmp(cmdtext, "/cmds", true) == 0)
	{
        TextDrawShowForPlayer(playerid, CMDBOX);
		TextDrawShowForPlayer(playerid, text21);
		TextDrawShowForPlayer(playerid, text22);
		TextDrawShowForPlayer(playerid, text23);
		return true;
	}
Vlw - abraзos
Reply
#2

pawn Код:
if(strcmp(cmdtext, "/cmds", true) == 0)
    {
                TextDrawShowForPlayer(playerid, CMDBOX);
        TextDrawShowForPlayer(playerid, text21);
        TextDrawShowForPlayer(playerid, text22);
        TextDrawShowForPlayer(playerid, text23);
    return 1;
    }
pawn Код:
if(strcmp(cmdtext, "/cmdsoff", true) == 0)
    {
                TextDrawHideForPlayer(playerid, CMDBOX);
        TextDrawHideForPlayer(playerid, text21);
        TextDrawHideForPlayer(playerid, text22);
        TextDrawHideForPlayer(playerid, text23);
    return 1;
    }
Reply
#3

vlw ai conseguir
Reply
#4

Olha o double post sim?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)