[Ajuda] Cores { }
#8

Espero ter ajudado.
PHP код:
#include <a_samp>
#include <sscanf2>
#include <zcmd>

#define DIALOG_LABEL 1 
PHP код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(
dialogid == DIALOG_LABEL)
    {
        if(
response)
        {
            new 
Float:Pos[3];
            
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
            
Create3DTextLabel(inputtext,-1, Pos[0], Pos[1], Pos[2], 40.0, 0, 0);
            
SendClientMessage(playerid, 0x00FF80AA, "Label Criado!");
        }
    }
    return 
1;
} 
PHP код:
CMD:label(playerid)
{
    
ShowPlayerDialog(playerid,DIALOG_LABEL, DIALOG_STYLE_INPUT, "Criacao de Label", "Digite abaixo o texto e cores do seu Label", "Criar", "Cancelar");
    return 
1;
} 
Reply


Messages In This Thread
Cores { } - by LuisFerreira - 30.08.2015, 00:48
Re: Cores { } - by Andre02 - 30.08.2015, 00:49
Re: Cores { } - by LuisFerreira - 30.08.2015, 00:51
Re: Cores { } - by Boot - 30.08.2015, 10:58
Re: Cores { } - by LuisFerreira - 30.08.2015, 12:36
Re: Cores { } - by widhost - 30.08.2015, 13:41
Re: Cores { } - by LuisFerreira - 30.08.2015, 14:01
Re: Cores { } - by [BOPE]Seu._.Madruga - 30.08.2015, 15:33

Forum Jump:


Users browsing this thread: 1 Guest(s)