Jump to content

Ayuda con este script!


Flipi

Recommended Posts

Posted

Hola, necesito saber como hacer un teleport donde se pueda tele-transportar con o sin vehiculo, con un comando predeterminado ejemplo "/nombre del lugar", ojala me puedan ayudar :)

Posted

Hola ,coma ebe aba bele ............

English please

Ingame Name : |DGT|Puma

DGT Clan Server 24/7 Owner/Scripter

MultiGameMode in progress :

n-560x95_FFFFFF_FFFFFF_0283C4_000000.png

Posted
Hola ,coma ebe aba bele ............

English please

Hi, I need to know how to make a teleport where you can teleport with or without vehicle with a default command such as "/ name of the place", hopefully I can help (sorry bad english)

Posted
isPedInVehicle 
getPedOccupiedVehicle 
setElementPosition 
addCommandHandler 

Please do not PM me with scripting related question nor support, use the forums instead.

Posted
function Teleport(thePlayer) 
    if getPedOccupiedVehicle(thePlayer) then 
        setElementPosition ( thePlayer, X, Y, Z ) 
        setElementFrozen(thePlayer, true) 
        setPedGravity(thePlayer, 0) 
        setElementDimension(thePlayer, 0) 
        setElementInterior(thePlayer, 0) 
    end 
end 
addCommandHandler("placename", Teleport) 

No nudity in signatures -Moderators

( . ) ( . ) <-- Breasts or eyes, use your imagination. Wowzas *childish giggle*

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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