mucuk6547 Posted January 2, 2019 Share Posted January 2, 2019 Hello friends I'd like to add weapons to the car.I want to get a panel out of space. Link to comment
mucuk6547 Posted January 3, 2019 Author Share Posted January 3, 2019 2 hours ago, Dimos7 said: createWeapon did it but it is faulty automatic fire. also occur coordinates CLİENT CODE function createMinigunWeapon() -- Create the weapon 1 meter above the player local x, y, z = getElementPosition(getLocalPlayer()) local weapon = createWeapon("ak-47", -2413.2534179688, -593.76226806641, 134 + 1) -- Give it some ammo and fire it setWeaponClipAmmo(weapon, 0) setWeaponState(weapon, "firing") end addCommandHandler("silah", createMinigunWeapon) SERVER CODE weapon createWeapon ( string ak-47, float -2414, float -593, float 134) PLS HELP Link to comment
Dimos7 Posted January 4, 2019 Share Posted January 4, 2019 Its client side pictures not showed CLİENT CODE function createMinigunWeapon() -- Create the weapon 1 meter above the player local x, y, z = getElementPosition(getLocalPlayer()) local weapon = createWeapon("ak-47", -2413.2534179688, -593.76226806641, 134 + 1) -- Give it some ammo and fire it setWeaponClipAmmo(weapon, 0) setWeaponState(weapon, "ready") end addCommandHandler("silah", createMinigunWeapon) Link to comment
mucuk6547 Posted January 4, 2019 Author Share Posted January 4, 2019 11 hours ago, Dimos7 said: Its client side pictures not showed CLİENT CODE function createMinigunWeapon() -- Create the weapon 1 meter above the player local x, y, z = getElementPosition(getLocalPlayer()) local weapon = createWeapon("ak-47", -2413.2534179688, -593.76226806641, 134 + 1) -- Give it some ammo and fire it setWeaponClipAmmo(weapon, 0) setWeaponState(weapon, "ready") end addCommandHandler("silah", createMinigunWeapon) can't you help me Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now