Jump to content

Evil-Cod3r

Members
  • Posts

    370
  • Joined

  • Last visited

Everything posted by Evil-Cod3r

  1. remove this on the meta and keep this
  2. show the code if you have and we well help you with it
  3. fucntion whatever () -- function name local x, y, z = getElementPosition (source ) --- get Player Position spawnPlayer ( source, x, y, z) -- spawn the Player end -- close it setTimer ( whatever, 2000, 1) -- the timer 2 sec .. addEventHandler ( "onPlayerSpawn", getRootElement(), whatever) --- the event name
  4. yeah arezu is right Make it onPlayerSpawn event should work
  5. outputConsle( ThePlayer.. "Has passed the ping check") there is no Player in the script dosnt it have to be outputConsle( source .. "Has passed the ping check") or outputConsle( localPlayer .. "Has passed the ping check")
  6. i can Make the Money System and Level System and the Teams can i help i got TeamSpake Only ?
  7. where is Server Side ??
  8. Evil-Cod3r

    GUI Table

    i tryed all things to fix it its say unexpected symbol near = ???
  9. try this ---serverSide exports.scoreboard:addScoreboardColumn('Hunter Kills') addEvent("onClientVehicleExplosion",true) addEventHandler("onClientVehicleExplosion",root, function (killer) local add = getElementData("Hunter Kills") setElementData("Hunter Kills", add+1) givePlayerMoney(killer, 100) end) --- client side function Explode () local him = getPlayerName( killer) local i = getPlayerName( source ) if getElementType ( killer ) =="vehicle" then triggerServerEvent ( "onClientVehicleExplosion",getRootElement()) driver = getVehicleOccupant ( killer ) if driver then outputChatBox( tostring ".. him Has Killed .. i and got +1 Hunter Killes",255,255,0) end end end addEventHandler("onClientVehicleExplosion",getRootElement(),Explode)
  10. No Thanks that not what i mean ok i use what Kenix write thanks all
  11. Evil-Cod3r

    Private car

    I Dont get what you mean explaine better
  12. its not fast its shoot 2 in 1 time i need if i shot with sniper shoot dont stop like M-4
  13. addEventHandler( 'onClientPlayerWeaponFire',root, function( weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement ) triggerServerEvent( 'onPlayerWeaponFire',source,weapon,ammo+5 ) end ) addEvent( 'onPlayerWeaponFire',true ) addEventHandler( 'onPlayerWeaponFire',root, function( weapon,ammo ) giveWeapon( source,weapon,ammo ) end ) function dev () setGlitchEnabled ( "quickreload", true ) setGlitchEnabled ( "fastmove", true ) setGlitchEnabled ( "fastfire", true ) setGlitchEnabled ( "crouchbug", true ) setTimer ( dev, 50, 1) end addEventHandler( 'onResourceStart',root, dev) its give me ammo but its shoot to slow how to Make shot faster C-bug ?
  14. in meta.xml bug it type = 'Client' not server !
  15. Hi alll i have made this but i want if Player fire with gun the gun automatic reload like my ammo is 10 i fired its give me 10 faster function Bug (source) local slot = getPedWeaponSlot ( source ) if (slot == 2) then setPedWeaponSlot ( source, 1000) setGlitchEnabled ( "quickreload", true ) setGlitchEnabled ( "fastmove", true ) setGlitchEnabled ( "fastfire", true ) setGlitchEnabled ( "crouchbug", true ) end end addEventHandler( "onClientResourceStart", getRootElement( ), Bug)
  16. you have to wait some one else then me iam not good scripter
  17. try this then local x, y, z = getElementPosition(source) local npc = {} npc.shop = {} npc.shop.ped = createPed(171, x + 3, y + 5, z) setPedAnimation(npc.shop.ped, "BAR", "Barserve_loop", -1, true, false, true, false) local name, block_name, loop, update_position, iterruptible, time, start_time, finished = getPedAnimation(npc.shop.ped)
  18. try this local x, y, z = getElementPosition(source) local npc = {} npc.shop = {} npc.shop.ped = createPed(171, x + 3, y + 5, z) setPedAnimation(npc.shop.ped, "BAR", "Barserve_loop", -1, true, false, true, false) local name, block_name, loop, update_position, iterruptible, time, start_time, finished = getPedAnimationData(npc.shop.ped)
  19. updated try again and give me the errors
×
×
  • Create New...