[Ajuda] 2 Comandos na mesma funзгo
#7

Quote:
Originally Posted by HelderPT
Посмотреть сообщение
Aproveitar o topico para nao criar outro.

Code:

PHP код:
if((newkeys KEY_LEFT) && (IsPlayerInAnyVehicle(playerid)))
    {
        new 
string 128 ];
         if(
IsPlayerInRangeOfPoint(playerid15.0, -2434.0000000,496.1000100,31.7000000))
        {
         if(
pInfo[playerid][pCV] || IsPlayerAdmin(playerid))
            {
                
MoveObject(PortaoCV,-2434.0000000,496.1000100,26.2000000,3.0);
                
SetTimerEx("FecharPortaoCV"5000false"i"playerid);
                
format(stringsizeof(string)," | INFO | O portгo da ES Foi Aberto !");
                
SendClientMessage(playerid,Vermelhostring);
                  }
                return 
1;
                 }
                } 
ERRO: warning 217: loose indentation

ESTA DANDO O ERRO EM " RETURN 1; "
PHP код:
if((newkeys KEY_LEFT) && (IsPlayerInAnyVehicle(playerid)))
{
    new 
string 128 ];
    if(
IsPlayerInRangeOfPoint(playerid15.0, -2434.0000000,496.1000100,31.7000000))
    {
        if(
pInfo[playerid][pCV] || IsPlayerAdmin(playerid))
        {
            
MoveObject(PortaoCV,-2434.0000000,496.1000100,26.2000000,3.0);
            
SetTimerEx("FecharPortaoCV"5000false"i"playerid);
            
format(stringsizeof(string)," | INFO | O portгo da ES Foi Aberto !");
            
SendClientMessage(playerid,Vermelhostring);
        }
        return 
1;
    }

Reply


Messages In This Thread
2 Comandos na mesma funзгo - by powerths - 01.04.2018, 16:29
Re: 2 Comandos na mesma funзгo - by FerrariL - 01.04.2018, 16:33
Re: 2 Comandos na mesma funзгo - by HelderPT - 01.04.2018, 16:40
Re: 2 Comandos na mesma funзгo - by powerths - 01.04.2018, 16:41
Re: 2 Comandos na mesma funзгo - by FerrariL - 01.04.2018, 16:43
Re: 2 Comandos na mesma funзгo - by HelderPT - 01.04.2018, 16:44
Re: 2 Comandos na mesma funзгo - by Luiiiz - 01.04.2018, 16:44
Re: 2 Comandos na mesma funзгo - by FerrariL - 01.04.2018, 16:45
Re: 2 Comandos na mesma funзгo - by powerths - 01.04.2018, 16:50
Re: 2 Comandos na mesma funзгo - by AllanSG - 01.04.2018, 16:52

Forum Jump:


Users browsing this thread: 2 Guest(s)