Jump to content

kewizzle

Members
  • Content Count

    129
  • Joined

  • Last visited

Community Reputation

5 Neutral

About kewizzle

  • Rank
    Poot-butt
  • Birthday 11/12/1996

Details

  • Gang
    CumDrop
  • Location
    Nebraska, USA
  • Occupation
    Scripter
  • Interests
    MTASA, Zombies, Scripting, Programming

Recent Profile Visitors

1,133 profile views
  1. so when i deliver the ped to the marker it spawns two instead of one local avaibleSkins = { 0, 104 } local spawnPoints = { { -1221.7, 457.3, 7.2, 90.0 }, { -1388.8, 440.8, 7.2, 180.0 }, { -1676.1, 413.4, 7.2, 180.0 }, } function createMarkerAttachedTo(element, mType, size, r, g, b, a, visibleTo, xOffset, yOffset, zOffset) mType, size, r, g, b, a, visibleTo, xOffset, yOffset, zOffset = mType or "checkpoint", size or 4, r or 0, g or 0, b or 255, a or 255, visibleTo or getRootElement(), xOffset or 0, yOffset or 0, zOffset or 0 assert(isElement(element), "Bad argument @ 'createMark
  2. addEventHandler("onZombieSpawned",root, function ( ) setElementHealth ( source, math.random(10, 150 ) ) if getElementHealth(source) <= 49 then setElementData(source, "medium", true) setElementHealth(source, 25) elseif getElementHealth(source) >= 50 and getElementHealth(source) <= 99 then setElementData(source, "easy", true) setElementHealth(source, 75) elseif getElementHealth(source) >= 100 then setElementData(source, "hard", true) setElementHealth(source, 125) end end) fixed it
  3. kewizzle

    im blind af

    addEventHandler("onZombieSpawned",root, function ( ) setElementHealth ( source, math.random(10, 150 ) ) if getElementHealth(source) >= 10 and getElementHealth(source) <= 50 then setElementData(source, "easy", true) elseif getElementHealth(source) >= 51 and getElementHealth(source) <= 69 then setElementData(source, "medium", true) elseif getElementHealth(source) > 70 then setElementData(source, "hard", true) end if getElementData(source, "easy", true) then setElementHealth(source, 50) elseif getElementData(source, "medium", true) then setElementHealt
  4. thanks ill use your example to learn from. works. i see what you did here neat function createDrops() if not isElement(supplyVehicle) then local randomPoint = math.random(1, #spawnPoints) supplyVehicle = createVehicle(spawnPoints[randomPoint][1], spawnPoints[randomPoint][2], spawnPoints[randomPoint][3], spawnPoints[randomPoint][4], spawnPoints[randomPoint][5], spawnPoints[randomPoint][6], spawnPoints[randomPoint][7]) supplyVehicle_blip = createBlipAttachedTo(supplyVehicle, 0) outputChatBox("Supply Drop Spawned! Go capture it and return it to the safezone.", root, 0, 25
  5. Didn't solve my problem. Same exact thing happens, when i deliver the vehicle to the marker three things happen I want to fix. outputChatBox("Supplies have been delivered. New supplies spawn in 5 minutes.", server, 0, 255, 0) appears twice outputChatBox("Supply Drop Spawned! Go capture it and return it to the safezone.", server, 0, 255, 0) appears twice and then two supply vehicles appear.
  6. local spawnPoints = { { 416, 2066.1, 1396, 10.9, 0, 0, 127 }, { 416, -678.5, 977.4, 12.1, 0, 0, 127 } } function createDrops() local random2 = math.random(1, #spawnPoints) supplyveh1 = createVehicle ( spawnPoints[random2][1], spawnPoints[random2][2], spawnPoints[random2][3], spawnPoints[random2][4], spawnPoints[random2][5], spawnPoints[random2][6], spawnPoints[random2][7]) suppliez = createBlipAttachedTo( supplyveh1, 0 ) outputChatBox("Supply Drop Spawned! Go capture it and return it to the safezone.", server, 0, 255, 0) end addEventHandler("onResourceStart", root, function() createDrop
  7. Would it be possible to kill all zombies within a certain distance of you? if so how would i go about it? coding wise? I wanna use a dildo onWeaponFire cancels and does an animation with an createExplosion and kills zombies around me.
  8. Hello Multi Theft Auto Community! Today is the day I have decided to release my new Zombies mode. It is a LARGE edit of the zombies resource that we all know and love. Includes a shopping system, a save system, money earning, exp, leveling and unlock system, reset system, zombie difficulty system, safe zones, little bit of mapping, special areas, scoreboard counts, drop system and much more. THIS IS NOT A COMPLETE RESOURCE. I decided that I would go ahead and release it so that the community can help make it a better, and more enjoyable gamemode. I want to see where this goes. All the bes
  9. alright well i played with it couldnt get it to work lol so i just decided to attach the ped to the player. I dont like it but for now i guess i will have to stick with it.
  10. alright lol :~ well i will see what i can cook up
  11. youre really good at scripting so im wondering okay so i got this function hitSurv(playerSource) outputChatBox(getPlayerName(playerSource).." Has Collected The Survivor!", server, 0, 255, 0) destroyElement(survivorMarker) destroyElement(survivorBlip) setElementData(playerSource, "hasSurv", true) toMarker = createMarker(-719, 951, 11, "cylinder", 3, 255, 0, 255, 150, playerSource) saveBlip = createBlipAttachedTo( toMarker, 22 ) setPedAnimation( survivorPed, "ped", "WOMAN_run") addEventHandler("onMarkerHit", toMarker, hitSurvDes) end i need the ped to follow me once i hit the ma
  12. works but aye i can fix the easy errors, I like to speed up the process by posting tho cuz im working on it as you professionals help. Im a moderate scripter i guess.
  13. it doesnt work i get the error bad argument at createMarkerAttachedTo expected element at argument 1 got boolean and when i remove that line(which is needed for further development) i get 3 more errors, createPed expected element at argument 1 got nil and createBlipAttachedTo element expected at argument 1 got boolean and addEventHandler expected element at argument 2 got boolean
  14. already returned it. It works perfect except the random stuff.
  15. now a single ped spawns but still gives the debug error as well as doesnt destroy the elements onPedWasted or respawn.
×
×
  • Create New...