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

Quote:
Originally Posted by Luiiiz
Посмотреть сообщение
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;
    }

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;
    }

testa ai.
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: 4 Guest(s)