[AJUDA] Portхes
#1

Galera eu queria que vocкs colocassem pra quando apertar H abrir , olha os comandos:

pawn Код:
if(strcmp(cmd, "/ptriads", true) == 0)
    {
        if (PlayerInfo[playerid][pMembro] == 22 || PlayerInfo[playerid][pLider] == 22)
        {
            if(PlayerToPoint(15.0, playerid, 1621.5723876953, -1866.224609375, 13.3828125))
            {
            MoveObject( PTRIADS, 1621.476, -1865.316, 20.320,3,0.0,0.0,0.0);
            GameTextForPlayer(playerid, "~w~Portao Triads ~n~~b~Aberto", 5000, 3);
            SetTimer("fechartriads", 5000, false);
            }
        }
        return true;
    }
   
    if(strcmp(cmd, "/pballas", true) == 0)
    {
        if (PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17)
        {
            if(PlayerToPoint(15.0, playerid, 1150.9680175781, -1213.5841064453, 18.491146087646))
            {
            MoveObject( PBALLAS, 1140.380, -1212.989, 20.372,3,0.0,0.0,180.0);
            GameTextForPlayer(playerid, "~w~Portao Ballas ~n~~b~Aberto", 5000, 3);
            SetTimer("fecharballas", 5000, false);
        }
            }
        return true;
    }

    if(strcmp(cmd, "/pgroove", true) == 0)
    {
        if (PlayerInfo[playerid][pMembro] == 14 || PlayerInfo[playerid][pLider] == 14)
        {
            if(PlayerToPoint(15.0, playerid, 321.39999389648, -1188.1999511719, 77.099998474121))
            {
            MoveObject( PGROOVE, 2463.294, -1669.978, 15.078,3,0.0,0.0,270.0);
            GameTextForPlayer(playerid, "~w~Portao Groove ~n~~b~Aberto", 5000, 3);
            SetTimer("fechargroove", 5000, false);
            }
        }
        return true;
    }

    if(strcmp(cmd, "/phitmans", true) == 0)
    {
        if (PlayerInfo[playerid][pMembro] == 8 || PlayerInfo[playerid][pLider] == 8)
        {
            if(PlayerToPoint(15.0, playerid, 956.42016601563,-1498.7211914063,13.544877052307))
            {
                MoveObject(PHITMANS, 956.456, -1499.972, 20.320,3,0.0,0.0,0.0);
                GameTextForPlayer(playerid, "~w~Portao Hitmans ~n~~b~Aberto", 5000, 3);
                SetTimer("fecharhitmans", 5000, false);
            }
            else if(PlayerToPoint(15.0, playerid, 1016.6881103516,-1542.4482421875,13.533554077148))
            {
                MoveObject( PHITMANS2, 785.128,-1162.442,25.430,3,0.0,0.0,88.522);
                GameTextForPlayer(playerid, "~w~Portao Hitmans ~n~~b~Aberto", 5000, 3);
                SetTimer("fecharhitmans2", 5000, false);
            }
        }
        return true;
    }
Reply


Messages In This Thread
[AJUDA] Portхes - by GuiihCamargo - 25.06.2012, 06:05
Re: [AJUDA] Portхes - by leonardo1434 - 25.06.2012, 06:32
Re: [AJUDA] Portхes - by Schocc - 25.06.2012, 07:10
Re: [AJUDA] Portхes - by sanalex - 25.06.2012, 07:18
Re: [AJUDA] Portхes - by Schocc - 25.06.2012, 07:29
Re: [AJUDA] Portхes - by steeldark - 25.06.2012, 07:47
Re: [AJUDA] Portхes - by Oakley_TwOPaCk - 25.06.2012, 08:58
Re: [AJUDA] Portхes - by ,Bridget - 25.06.2012, 09:46

Forum Jump:


Users browsing this thread: 1 Guest(s)