Jump to content

EvilB12

Members
  • Posts

    5
  • Joined

  • Last visited

EvilB12's Achievements

Vic

Vic (3/54)

0

Reputation

  1. I tried setting the syncer to false, still doesn't work. Any ways I'll go with setting element alpha for other players P.S: Set element visible to, doesn't work either
  2. As i said above you can't give a 'PED' Weapon which created from the client side you can deal with that by create an object and attaching it to the PED with bone_attach script. And if I do that, I won't be able to fire it, thats the point I am doing this, set ped's control state to fire the weapon
  3. What the hell. Why do I need to destroy the ped element, I need the ped to be seen by only one person, the one who uses the commands, why should I use that server sided code?
  4. Looking forward for someone to help :[
  5. I have been trying to give weapon to a ped which i have created in a client sided script but its not working. Server sided:- addEvent ( "giveWeaponS", true ) addEventHandler("giveWeaponS", getRootElement (), function ( ped, wID, ammo ) giveWeapon ( ped, tonumber ( wID ), tonumber ( ammo ), true ) outputChatBox("trigger") end ) Client sided:- addCommandHandler("ped",function () ped = createPed ( 100, 2707.11621, 2219.65137, 6.74981 ) triggerServerEvent ( "giveWeaponS", getLocalPlayer(), ped, 27, 500) end )
×
×
  • Create New...