[Ajuda] Clickedid <<
#6

Quote:
Originally Posted by SmokiieGamer
Посмотреть сообщение
O resto do cуdigo.
Ah sim, aqui esta o resto do cуdigo, porem gostaria da parte de registro para quando clicasse em outra texdraw:

PHP код:
forward login_dialog(playerid);
public 
login_dialog(playerid)
{
    if(!
gPlayerLogged[playerid])
    {
        new 
string2[150],Str[500],gstring[400];
        
format(string2sizeof(string2), Pasta_ContasPlayerName(playerid));
         if (
gPlayerLogged[playerid] != 1)
        {
            if(
fexist(string2))//se a conta existe
            
{
                
PlayerTextDrawSetString(playeridNickReg[playerid], Str);
                
format(gstringsizeof gstring,
                
"\n{0038E0}» {FFFFFF}Sua conta: {0038E0}%s {FFFFFF}estб REGISTRADA\n\n\
                {0038E0}» {FFFFFF}Digite sua senha para efetuar o LOGIN\n\n\
                {0038E0}» {0038E0}OBS: {FFFFFF} Nгo passe sua senha б ninguйm!\n\n"
PlayerName(playerid));
                
ShowPlayerDialog(playerid1DIALOG_STYLE_PASSWORD"{0038E0}Brasil {0038E0}Live Games"gstring"Logar""Sair");
            }
            else
            {
                
PlayerTextDrawSetString(playeridNickReg[playerid], Str);
                
format(gstringsizeof gstring,
                
"\n{{FFFFFF}}» {{FFFFFF}}Logando no Brasil Live Games\n\n\
                {0038E0}» {FFFFFF}Sua conta: {0038E0}%s {FFFFFF}estб {FFFFFF}NГO REGISTRADA\n\
                {0038E0}» {FFFFFF}Digite sua senha para efetuar o REGISTRO\n\n\
                {0038E0}» {0038E0}OBS: {FFFFFF}Nгo passe sua senha б ninguйm!\n\n"
PlayerName(playerid));
                
ShowPlayerDialog(playerid2DIALOG_STYLE_PASSWORD"{0038E0}Brasil {0038E0}Live Games"gstring"Registrar""Sair");
            }
            
//CarregarMsgAtu(playerid);
            
ShowIntro(playerid);
            
SetPlayerCameraPos(playerid1417.6466, -1632.850285.2344);
            
SetPlayerCameraLookAt(playerid1418.4292, -1633.470284.7444);
            
SelectTextDraw(playerid0xAAAAAAFF);
            
ClearChatbox(playerid20);
            
GetPlayerName(playeridplnamesizeof(plname));
            
format(gstring100Pasta_Contasplname);
        }
        
SetPlayerCameraPos(playerid226.43271822.69489.3896);
        
SetPlayerCameraLookAt(playerid225.42901822.68429.1346);
        
InterpolateCameraPos(playerid, -69.0914, -578.58391.1176, -64.0263, -574.66301.986050000);
        
InterpolateCameraLookAt(playerid, -70.4253, -576.43901.5466, -64.4531, -572.29682.470960000);
        
TextDrawShowForPlayer(playeridTextdraw0);
        
TextDrawShowForPlayer(playeridMENSAGEMLOGO);
        
TextDrawShowForPlayer(playeridTextdraw1);
        
TextDrawShowForPlayer(playeridTextdrawbox);
        
TextDrawShowForPlayer(playeridTextdraw3);
        
TextDrawShowForPlayer(playeridTextdraw4);
        
TextDrawShowForPlayer(playeridTextdraw5);
        
TextDrawShowForPlayer(playeridTextdraw6);
        
TextDrawShowForPlayer(playeridTextdraw7);
        
TextDrawShowForPlayer(playeridTextdraw8);
        
TextDrawShowForPlayer(playeridTextdraw9);
        
TextDrawShowForPlayer(playeridTextdraw11);
        
TextDrawHideForPlayer(playeridTextLogin0);
        
TextDrawHideForPlayer(playeridTextLogin1);
        
TextDrawHideForPlayer(playeridTextLogin8);
        
TextDrawHideForPlayer(playeridTextLogin9);
        
TextDrawHideForPlayer(playeridTextLogin10);
           
TextDrawHideForPlayer(playeridtextTelaLogin);
           
CarregarTextEntrada(playerid);
        
SetPlayerSkin(playerid23);
        
SetPlayerInterior(playerid0);
        
Controle(playerid0);
        
//SetPlayerPos(playerid, 227.0743,1822.6564,7.4141);
        //SetPlayerPos(playerid, 1416.6915,-1478.7733,125.3672);
    
}
    return 
1;

Reply


Messages In This Thread
Clickedid << - by Eiffel - 03.03.2017, 16:13
Re: Clickedid << - by IlanZ - 03.03.2017, 16:54
Re: Clickedid << - by Eiffel - 03.03.2017, 20:11
Re: Clickedid << - by SmokiieGamer - 03.03.2017, 20:15
Re: Clickedid << - by RodrigoMSR - 03.03.2017, 20:58
Respuesta: Re: Clickedid << - by Eiffel - 03.03.2017, 21:21
Re: Clickedid << - by IlanZ - 03.03.2017, 23:58
Re: Clickedid << - by IlanZ - 04.03.2017, 19:47

Forum Jump:


Users browsing this thread: 2 Guest(s)