Jump to content

Ayuda


Recommended Posts

Posted

hola, como puedo hacer que cuando ponga un comando como por ejemplo baseggc, me teletransporte con auto y todo a las coordenadas? el que tengo me warpea pero no con auto, aqui el script:

addCommandHandler ( "baseggc", 
    function ( thePlayer ) 
        local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) 
        if isObjectInACLGroup ( "user.".. accName, aclGetGroup ( "G.G.C" ) ) then 
            setElementPosition ( thePlayer,  -2023.7476806641,-859.02844238281,32.171875, true ) 
        end 
    end 
) 

Saludos!! :D

Posted
addCommandHandler ( "baseggc", 
    function ( thePlayer ) 
        local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) 
        if isObjectInACLGroup ( "user.".. accName, aclGetGroup ( "G.G.C" ) ) then 
            local toWarp = ( isPedInVehicle ( thePlayer ) and getPedOccupiedVehicle ( thePlayer ) or thePlayer ) 
            setElementPosition ( toWarp,  -2023.7476806641,-859.02844238281,32.171875, true ) 
        end 
    end 
) 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
addCommandHandler ( "baseggc", 
    function ( thePlayer ) 
        local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) 
        if isObjectInACLGroup ( "user.".. accName, aclGetGroup ( "G.G.C" ) ) then 
            local toWarp = ( isPedInVehicle ( thePlayer ) and getPedOccupiedVehicle ( thePlayer ) or thePlayer ) 
            setElementPosition ( toWarp,  -2023.7476806641,-859.02844238281,32.171875, true ) 
        end 
    end 
) 

Funciona!! Gracias Solid :D:wink:

Posted

De nada.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...