Hello I tryed give the Ped a Weapon but it didnt work ,,
ClientSide ..
function start ()
fadeCamera(true)
skin = createPed ( StartSkin, 2749.7502441406,-2232.7170410156,61.727611541748,60 )
setCameraMatrix( 2745.8266601563,-2231.1694335938,62.25520324707, 3999.9999499991,-2607.4000244141,16.1)
setPedControlState(skin, 'aim_weapon', true)
setPedAnimation( skin, "DANCING", AnmieID[math.random(1,5)])
Intro = playSound("sounds/Music.mp3",true)
showCursor(true)
showChat(false)
showPlayerHudComponent ( "all", false )
end
i alraedy used triggerFormClientToServer like this ,
triggerServerEvent('give',localPlayer)
addEvent ..
addEventHandler..
function(skin)
giveWeapon(skin, 34, 200 )
end
...