Jump to content

Small Question // Please fast answer


Maurize

Recommended Posts

Posted

yes its possible using triggerServerEvent

Example :

  
-- Client-Side 
local myped = createPed(46,0,0,3) 
triggerServerEvent("giveWeaponToMyPed",myped,myped) 
--++ Server Side ++-- 
addEvent("giveWeaponToMyPed",true) 
addEventHandler("giveWeaponToMyPed",root,function(thePed) 
giveWeapon(thePed,31) 
end ) 
  

Posted
Al3GRAB Your's doensn't work ...

note that myped is only for example , you have to do the same with your ped .

// Okay found another way to get it to work ;D

good luck then :D

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