WASSIm.

Members
  • Content count

    1,402
  • Joined

  • Last visited

Community Reputation

3 Neutral

1 Follower

About WASSIm.

  • Rank
    Loc
  • Birthday 11/09/96

Details

  • Gang
    Zombie Attack
  • Location
    Tunisia

Recent Profile Visitors

424 profile views
  1. Which one ? There Download Maps and Scripts and Mods !!
  2. Thanks i hope it You're Welcome Thank you
  3. Hey guys,we are working on a Zombie Gamemode server you must kill zombies to earn some RP and get some cash and level up and you can spawn on other classes' you must level up to ride powerful vehicles like the Hydra/Rhino and The Hunter with a high level you can create your own Group,Gang or Squad and make a base to protect your group and yourself and you can find Powerful Bosses like Nemesis and the Licker (From Resident Evil) Enjoy your stay. Features: Account System Group System Zombie System Settings System Admin System Hud & Radar Shops Base'S Staffs: WASSIm. | ZA Founder Pictures: Videos: Server Adresse: mtasa://192.99.57.212:22003
  4. First remove your code en Scoreboard Client then change level to Level en setElementData
  5. local sX,sY = guiGetScreenSize() lcoal x, y, w, h = sX, sY, 30, 250 local max = (math.floor(getVehicleHandling(vehicle)["maxVelocity"])*3.6) exports.USCmisc:DxDrawBorderedRectangle(x-h-50, y-200, w, h*(mph/(max*1.49)), tocolor(145, 0, 0, 255), 2) You need to work like this
  6. Thank you and thank you all guys
  7. So i need do this ?? -- Create zombies closed randomly players local pacecount = 0 while pacecount < 5 do --4 ZOMBIES AT A TIME TO PREVENT FPS DROP local tzombiecount = #everyZombie+pacecount if (tzombiecount < ZombieLimit) then local thePlayer = getRandomPlayer() if (thePlayer) and (exports["ZA-system"]:isPlayerLogin(thePlayer)) and not (getElementData(thePlayer, "zombieProof")) and not (isPedDead(thePlayer)) then local disc, angle = math.random(15, 50), math.random(360) local gx, gy = getDistanceRotation(0, 0, disc, angle) if not (hasPositionZombieProof(gx, gy)) then triggerClientEvent(thePlayer, "onClientPreZombieSpawn", thePlayer, gx, gy) pacecount = pacecount+1 end end end pacecount = pacecount+1 end
  8. Now is it and server freezed [2017-02-05 22:06:55] ADMIN: Resource 'ZA-zombies' started by ZA|WASSIm.(wassmas) [2017-02-05 22:06:56] INFO: :ZA-zombies/server.lua: Successfully compiled [2017-02-05 22:07:00] INFO: 0 [2017-02-05 22:07:00] INFO: 1 [2017-02-05 22:07:05] WARNING: Long execution (ZA-zombies) [2017-02-05 22:07:06] INFO: 0 [DUP x8187] [2017-02-05 22:07:06] INFO: 1 [DUP x8187] [2017-02-05 22:07:06] INFO: 0 [2017-02-05 22:07:06] INFO: 1 [2017-02-05 22:07:10] WARNING: Long execution (ZA-zombies) [2017-02-05 22:07:12] INFO: 0 [DUP x9581] [2017-02-05 22:07:12] INFO: 1 [DUP x9581] [2017-02-05 22:07:12] INFO: 0 [2017-02-05 22:07:12] INFO: 1 [2017-02-05 22:07:12] INFO: 0 [2017-02-05 22:07:15] WARNING: Long execution (ZA-zombies) [2017-02-05 22:07:18] INFO: 1 [DUP x9524] [2017-02-05 22:07:18] INFO: 0 [DUP x9524] [2017-02-05 22:07:18] INFO: 1 [2017-02-05 22:07:18] INFO: 0 [2017-02-05 22:07:18] INFO: 1 [2017-02-05 22:07:20] WARNING: Long execution (ZA-zombies) [2017-02-05 22:07:24] INFO: 0 [DUP x9612] [2017-02-05 22:07:24] INFO: 1 [DUP x9612] [2017-02-05 22:07:24] INFO: 0 [2017-02-05 22:07:24] INFO: 1 [2017-02-05 22:07:24] INFO: 0 [2017-02-05 22:07:25] WARNING: Long execution (ZA-zombies) [2017-02-05 22:07:30] INFO: 1 [DUP x9586] [2017-02-05 22:07:30] INFO: 0 [DUP x9586] [2017-02-05 22:07:30] INFO: 1 [2017-02-05 22:07:30] INFO: 0 [2017-02-05 22:07:30] WARNING: Long execution (ZA-zombies) [2017-02-05 22:07:35] WARNING: Long execution (ZA-zombies) [2017-02-05 22:07:36] INFO: 1 [DUP x9705] [2017-02-05 22:07:36] INFO: 0 [DUP x9705] [2017-02-05 22:07:36] INFO: 1 [2017-02-05 22:07:36] INFO: 0 [2017-02-05 22:07:36] INFO: 1 [2017-02-05 22:07:40] WARNING: Long execution (ZA-zombies) [2017-02-05 22:07:42] INFO: 0 [DUP x9625] [2017-02-05 22:07:42] INFO: 1 [DUP x9625] [2017-02-05 22:07:42] INFO: 0 [2017-02-05 22:07:42] INFO: 1 [2017-02-05 22:07:42] INFO: 0 [2017-02-05 22:07:45] WARNING: Long execution (ZA-zombies) [2017-02-05 22:07:48] INFO: 1 [DUP x9708] [2017-02-05 22:07:48] INFO: 0 [DUP x9708] [2017-02-05 22:07:48] INFO: 1 [2017-02-05 22:07:48] INFO: 0 [2017-02-05 22:07:48] INFO: 1 [2017-02-05 22:07:50] WARNING: Long execution (ZA-zombies) [2017-02-05 22:07:54] INFO: 0 [DUP x9644] [2017-02-05 22:07:54] INFO: 1 [DUP x9644] [2017-02-05 22:07:54] INFO: 0 [2017-02-05 22:07:54] INFO: 1 [2017-02-05 22:07:54] WARNING: Long execution (ZA-zombies) [2017-02-05 22:07:59] WARNING: Long execution (ZA-zombies) [2017-02-05 22:08:00] INFO: 0 [DUP x9702] [2017-02-05 22:08:00] INFO: 1 [DUP x9702] [2017-02-05 22:08:00] INFO: 0 [2017-02-05 22:08:00] INFO: 1 [2017-02-05 22:08:00] INFO: 0 [2017-02-05 22:08:04] WARNING: Long execution (ZA-zombies) [2017-02-05 22:08:06] INFO: 1 [DUP x9605] [2017-02-05 22:08:06] INFO: 0 [DUP x9605] [2017-02-05 22:08:06] INFO: 1 [2017-02-05 22:08:06] INFO: 0 [2017-02-05 22:08:06] INFO: 1 [2017-02-05 22:08:09] WARNING: Long execution (ZA-zombies) [2017-02-05 22:08:12] INFO: 0 [DUP x9606] [2017-02-05 22:08:12] INFO: 1 [DUP x9606] [2017-02-05 22:08:12] INFO: 0 [2017-02-05 22:08:12] INFO: 1 [2017-02-05 22:08:12] INFO: 0 [2017-02-05 22:08:14] WARNING: Long execution (ZA-zombies) [2017-02-05 22:08:18] INFO: 1 [DUP x9527] [2017-02-05 22:08:18] INFO: 0 [DUP x9527] [2017-02-05 22:08:18] INFO: 1 [2017-02-05 22:08:18] INFO: 0 [2017-02-05 22:08:18] WARNING: Long execution (ZA-zombies) [2017-02-05 22:08:23] WARNING: Long execution (ZA-zombies) [2017-02-05 22:08:24] INFO: 1 [DUP x9555] [2017-02-05 22:08:24] INFO: 0 [DUP x9555] [2017-02-05 22:08:24] INFO: 1 [2017-02-05 22:08:24] INFO: 0
  9. addEvent("onCheckZombie", true ) addEventHandler("onCheckZombie", root, function () -- Create zombies closed randomly players local pacecount = 0 while pacecount < 5*2 do --4 ZOMBIES AT A TIME TO PREVENT FPS DROP local tzombiecount = #everyZombie+pacecount if (tzombiecount < ZombieLimit) then local thePlayer = getRandomPlayer() if (thePlayer) and (exports["ZA-system"]:isPlayerLogin(thePlayer)) and not (getElementData(thePlayer, "zombieProof")) and not (isPedDead(thePlayer)) then local disc, angle = math.random(15, 50), math.random(360) local gx, gy = getDistanceRotation(0, 0, disc, angle) if not (hasPositionZombieProof(gx, gy)) then triggerClientEvent(thePlayer, "onClientPreZombieSpawn", thePlayer, gx, gy) pacecount = pacecount+1 end end end end -- Delete far away zombies local allplayers, listCloseZ = getElementsByType("player"), {} for ZombKey,theZomb in ipairs(everyZombie) do if (isZombie(theZomb)) and not (getElementData(theZomb, "forcedtoexist")) then local Zx, Zy, Zz = getElementPosition(theZomb) for _,thePlayer in ipairs(allplayers) do if (exports["ZA-system"]:isElementInRange(thePlayer, Zx, Zy, Zz, 75)) and not (listCloseZ[theZomb]) then listCloseZ[theZomb] = true end end if not (listCloseZ[theZomb]) then destroyElement(theZomb) end end end end)
  10. Any help ?
  11. Problem from setTimer
  12. Line 14