SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 20/04/2016, 03:40 AM   #1
maxblaya01
Big Clucker
 
maxblaya01's Avatar
 
Join Date: Jul 2015
Posts: 187
Reputation: 1
Default Criar Dialog

Como eu faço para Criar um dialog, que quando entra no servidor a pessoa le os termos de jogo e depois clica em jogar?
maxblaya01 is offline   Reply With Quote
Old 20/04/2016, 11:03 AM   #2
F1N4L
High-roller
 
F1N4L's Avatar
 
Join Date: Jun 2013
Posts: 2,726
Reputation: 260
Default Re: Criar Dialog

ShowPlayerDialog(playerid, 12345, DIALOG_STYLE_MSGBOX, "REGRAS:", "LEIA AS REGRAS:\nVOCÊ É OBRIGADO A JOGAR AQUI!", "OK","");
F1N4L is offline   Reply With Quote
Old 20/04/2016, 07:16 PM   #3
maxblaya01
Big Clucker
 
maxblaya01's Avatar
 
Join Date: Jul 2015
Posts: 187
Reputation: 1
Default Re: Criar Dialog

Quote:
Originally Posted by F1N4L View Post
ShowPlayerDialog(playerid, 12345, DIALOG_STYLE_MSGBOX, "REGRAS:", "LEIA AS REGRAS:\nVOCÊ É OBRIGADO A JOGAR AQUI!", "OK","");
ei amigo, mais quando eu vo mudando na seleçao de skin, fica aparecendo a mensagem como faso para nao aparecer mais ela ?
maxblaya01 is offline   Reply With Quote
Old 20/04/2016, 08:25 PM   #4
Ricop522
High-roller
 
Ricop522's Avatar
 
Join Date: Feb 2010
Location: ES
Posts: 2,640
Reputation: 159
Default Re: Criar Dialog

Cria uma variavel, ex: leu as regras.
Quando ele clicar em OK nas regras, atualiza essa variavel para true. E só mostra as regras se essa variavel estiver false.
__________________
"Any fool can write code that a
computer can understand. Good
programmers write code that
humans can understand."

AJUDA! Programação
Github
Ricop522 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] Criar dialog VeNuZ_ Português/Portuguese 13 20/04/2013 02:34 PM
[Ajuda] Criar vários dialog's Saidmrn Português/Portuguese 2 28/10/2012 05:40 AM
[Ajuda] Criar DIALOG coringa_smith157 Português/Portuguese 6 11/07/2012 08:29 PM
[Ajuda] como criar DIALOG coringa_smith157 Português/Portuguese 10 11/07/2012 06:14 PM


All times are GMT. The time now is 09:48 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.