Jump to content

[HELP]Why is not working this script:


TheBossasdasd

Recommended Posts

Posted

function warpToLVStunt  ( source, commandName ) 
        setElementPosition ( source, 1432.017578125 , 1473.7392578125 , 10.8203125 ) 
     addCommandHandler ( "lvstunt", warpToLVStunt  ) 
      end 

pls help me guys

560x95.png
Posted

@Mr.Pres[T]ege: Why client-side? Why not server-side? It is a lot better to use it server-side.

@TheBossasdasd: Your command handler is inside the function, and it seems that you are not triggering the function from outside. Put the command handler outside the function to make it work.

If I helped you, please click the like button on the right ;) Thanks!

Posted

'source' is not defined anywhere.

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
function warpToLVStunt( source, commandName ) 
    setElementPosition( source, 1432.017578125, 1473.7392578125, 10.8203125 ) 
end 
addCommandHandler( "lvstunt", warpToLVStunt ) 

Ingame nick: Cadu12

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...