#Heshan||eUNLOCK||

spwan with parachute

Recommended Posts

2 hours ago, #Heshan||eUNLOCK|| said:

hellow !

i need to know how player spwan with parachute in sky like pubg player spwaning im use this for freeroam pls help me friends

function asdd(thePlayer)
giveWeapon ( thePlayer, 46, 1 )     -- This function give one parachute to player
setPedWeaponSlot ( thePlayer, 11 )  --This function set the weapon slot of the player
end     
     
     
addEventHandler( "onPlayerJoin", root,
  function(  )
  setTimer( asdd, 200, 1, source )

end)

 

Share this post


Link to post
19 hours ago, <~KaMiKaZe~> said:

function asdd(thePlayer)
giveWeapon ( thePlayer, 46, 1 )     -- This function give one parachute to player
setPedWeaponSlot ( thePlayer, 11 )  --This function set the weapon slot of the player
end     
     
     
addEventHandler( "onPlayerJoin", root,
  function(  )
  setTimer( asdd, 200, 1, source )

end)

 

client ? or server ? but thanks a lot my chung <3

20 hours ago, <~KaMiKaZe~> said:

function asdd(thePlayer)
giveWeapon ( thePlayer, 46, 1 )     -- This function give one parachute to player
setPedWeaponSlot ( thePlayer, 11 )  --This function set the weapon slot of the player
end     
     
     
addEventHandler( "onPlayerJoin", root,
  function(  )
  setTimer( asdd, 200, 1, source )

end)

 

does not work bro pls tell me  how to active this ?

Share this post


Link to post
function Spawn()
giveWeapon(source, 46, 500) -- Give Parachute
end -- end The Function
addEventHandler("onPlayerJoin", getRootElement(), Spawn) -- On Player Join Start Function

Try This :D

Share this post


Link to post
function spawnHandler()
	giveWeapon(source, 46, 500)
end
addEventHandler("onPlayerSpawn", getRootElement(), spawnHandler)

This is the right code. He needs to give them a parachute when they spawn, not when they join.

Share this post


Link to post
23 hours ago, NeXuS™ said:

function spawnHandler()
	giveWeapon(source, 46, 500)
end
addEventHandler("onPlayerSpawn", getRootElement(), spawnHandler)

This is the right code. He needs to give them a parachute when they spawn, not when they join.

Thns bro what is the type client or server ?

Share this post


Link to post

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.