[Ajuda] Dialog
#1

Bom, eu fiz 2 dialog um de logar й o outro para escolher a seu lugar de respawn, mais o lugar de respawn aparece 1 doq o de logar/registrar, como eu faзo para aparecer dps?
Reply
#2

tu ta usando Definiзгo pra duas 2 Dialogs ?
Reply
#3

pawn Код:
OnPlayerConnect = ShowPlayerDialog(playerid, ID DO DIALOG
lб no topo vocк deve ter definido tipo assim: #define DialogLogin 355 e #define DialogSpawn 356
crie uma variбvel para armazenar new PlayerLogado[MAX_PLAYERS];

na OnDialogResponse vocк define das seguintes formas:

apуs o player digitar a senha e ser logado com sucesso vocк seta PlayerLogado[playerid] = 1;

e no local do spawn vocк define:

pawn Код:
if(PlayerLogado[playerid] == 1)
{
//informaзхes do dialog
}
isso pode funfa
Reply
#4

Quote:
Originally Posted by focaximubh
Посмотреть сообщение
pawn Код:
OnPlayerConnect = ShowPlayerDialog(playerid, ID DO DIALOG
lб no topo vocк deve ter definido tipo assim: #define DialogLogin 355 e #define DialogSpawn 356
crie uma variбvel para armazenar new PlayerLogado[MAX_PLAYERS];

na OnDialogResponse vocк define das seguintes formas:

apуs o player digitar a senha e ser logado com sucesso vocк seta PlayerLogado[playerid] = 1;

e no local do spawn vocк define:

pawn Код:
if(PlayerLogado[playerid] == 1)
{
//informaзхes do dialog
}
isso pode funfa
tentei aqui й n deu certo, espero mais ajuda
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)