[Ajuda] Abrir dialog com textdraw
#9

Quote:
Originally Posted by FerrariL
Посмотреть сообщение
PHP код:
public OnPlayerClickTextDraw(playeridText:clickedid){
    if(
clickedid == Text:INVALID_TEXT_DRAW){
        if(
GetPVarInt(playerid"vMochila") && !GetPVarInt(playerid"guardando")){
            
HideMochila(playerid);
        }
        if(
GetPVarInt(playerid"vportamala") && !GetPVarInt(playerid"guardando")){
            
HidePortaMala(playerid);
        }
    }
    else if(
clickedid == textdraw_1){
        
ShowPlayerDialog(playerid1DIALOG_STYLE_MSGBOX"Insert""Insert""Ok""Exit");
    }
    
    if(
GetPVarInt(playerid"skinc_active") == 0) return 0;
    
// Handle: They cancelled (with ESC)
    
else if(clickedid == Text:INVALID_TEXT_DRAW) {
        
DestroySelectionMenu(playerid);
        
SetPVarInt(playerid"skinc_active"0);
        
PlayerPlaySound(playerid10850.00.00.0);
        return 
1;
    }
    return 
1;

irei testar
Reply


Messages In This Thread
Abrir dialog com textdraw - by Japis - 29.03.2018, 05:28
Re: Abrir dialog com textdraw - by SpikeCompiler - 29.03.2018, 11:25
Re: Abrir dialog com textdraw - by Japis - 29.03.2018, 14:40
Re: Abrir dialog com textdraw - by FerrariL - 29.03.2018, 17:43
Re: Abrir dialog com textdraw - by Locky_ - 29.03.2018, 18:07
Re: Abrir dialog com textdraw - by Japis - 29.03.2018, 18:07
Re: Abrir dialog com textdraw - by Japis - 30.03.2018, 03:20
Re: Abrir dialog com textdraw - by FerrariL - 30.03.2018, 03:23
Re: Abrir dialog com textdraw - by Japis - 30.03.2018, 03:26

Forum Jump:


Users browsing this thread: 1 Guest(s)