[Ajuda] Camera
#4

PHP код:
CMD:vercasa(playeridparams[])
{
    
ShowPlayerDialog(playerid3DIALOG_STYLE_INPUT"Casas""Digite o id da casa""Visualizar""Cancelar");
    return 
1;

PHP код:
    if(dialogid == 3)
    {
        
escolha[playerid] = strval(inputtext);
          if(!
response)
        {
            
SendClientMessage(playerid, -1"Vocк nгo quer ver");
            return 
1;
        }
        if(!
strval(inputtext))
        {
        
SendClientMessage(playerid, -1"Digite somente numeros!");
           
ShowPlayerDialog(playerid3DIALOG_STYLE_INPUT"Casas""Digite o id da casa""Visualizar""Cancelar");
        return 
1;
        }
            if(
escolha[playerid] == 1)
            {
                
SetPlayerCameraPos(playerid2003.3597, -1720.679029.8490);
                
SetPlayerCameraLookAt(playerid2002.3553, -1720.661529.2091);
                
SendClientMessage(playerid, -1"Casas 01!");
                                return 
1;
            }
            if(
escolha[playerid] == 2)
            {
                
SetPlayerCameraPos(playerid2000.9430, -1682.832525.5212);
                
SetPlayerCameraLookAt(playerid1999.9388, -1682.816725.0712);
                
SendClientMessage(playerid, -1"Casas 02!");
                                return 
1;
            }
        
SendClientMessage(playerid, -1"Casas disponiveis!");
        return 
1;
    } 
Se for poucas casa, da para fazer assim
Reply


Messages In This Thread
Camera - by AutoMatic2 - 17.02.2019, 23:59
Re: Camera - by zGuigui2068 - 18.02.2019, 00:02
Re: Camera - by AutoMatic2 - 18.02.2019, 00:08
Re: Camera - by zGuigui2068 - 18.02.2019, 00:37
Re: Camera - by AutoMatic2 - 18.02.2019, 00:59
Re: Camera - by zGuigui2068 - 18.02.2019, 01:15
Re: Camera - by AutoMatic2 - 18.02.2019, 01:35
Re: Camera - by Cauezin - 18.02.2019, 01:43
Re: Camera - by zGuigui2068 - 18.02.2019, 01:50
Re: Camera - by AutoMatic2 - 18.02.2019, 02:40

Forum Jump:


Users browsing this thread: 2 Guest(s)