Jump to content

WASSIm.

Members
  • Posts

    1,412
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by WASSIm.

  1. i got this problem on SAUR server before but fixed after few hours, i think after i delete client scripts..
  2. thanks guys i sloved that problem by useing setTimer for start resources
  3. but how ? i make file for resources i want start on ZA-system started that mean resource ZA-system he is start other resource...
  4. hi guys, i got that problem: ERROR: ZA-group\client.lua:65: exports: Call to non-running client resource (ZA-system) [string "?"] all exports ZA-system serverside working but client is not i need to restart resource to be work, so anyhelp please
  5. i change time of my VPS by tzselect but realtime on server mta don't changed
  6. WASSIm.

    Stealth kill

    dude read: https://wiki.multitheftauto.com/wiki/Meta.xml OOP - Please refer to OOP for documentation. false: Disable OOP. true: Enable OOP.
  7. hi guys, i see everyserver have different real time (getRealTime) so how i can change real time of server ?
  8. WASSIm.

    Stealth kill

    thanks, so what about problem anim stealth kill ?
  9. WASSIm.

    Stealth kill

    hi guys, i make zombie/player can kill other player by stealth but for first trying this its working fine but after idk why its work but don't do sealthkill anim, and how check if someone back of player ?, any help ? --CHECKS FOR ZOMBIE GRABBING FROM BEHIND function setZombieBitten (ped, target) if (isElement(ped)) and (exports["ZA-export"]:isPedZombie(ped)) and not (isPedDead(ped)) then if (isElement(target)) and not (exports["ZA-export"]:isPedZombie(target)) and not (isPedInVehicle(target)) then local tx,ty,tz = getElementPosition(ped) local vx,vy,vz = getElementPosition(target) local zombdistance = getDistanceBetweenPoints3D(tx, ty, tz, vx, vy, vz) if (zombdistance < 0.8 ) and (getElementType(target) == "player") and not (isPedDead(target)) then triggerClientEvent("onZombieControl", ped, "moan", math.random(moanlimit)) if (getElementType(ped) == "ped") then triggerClientEvent("onZombieControl", ped, "stop") end return killPed(target, ped, 0, 4, true) end end end return false end
  10. where other safezones ?
  11. Total file size: you can check all client file on resources running to get total download on frist join on server Current downloaded: i don't understand this ! When download has finished: use event 'onClientResourceStart' its trigger when resource download finished and started on client
  12. you mean spawn in random safezone ? if is it, post your full code
  13. can you post script when player die and line create colshape ?
  14. function deleteOnExitpilot ( ) local thePlayer = getVehicleController ( source ) if not thePlayer then return end if ( isElement ( markert [ thePlayer ] ) ) then destroyElement ( markert [ thePlayer ] ) end if ( isElement ( blipt [ thePlayer ] ) ) then destroyElement ( blipt [ thePlayer ] ) end if ( isElement ( pedt [ thePlayer ] ) ) then destroyElement ( pedt [ thePlayer ] ) end end addEventHandler ( "onVehicleExplode", getRootElement(), deleteOnExitpilot )
  15. try this local statsFromWeapon = { [22] = 69, [23] = 70, [24] = 71, [25] = 72, [26] = 73, [27] = 74, [28] = 75, [29] = 76, [30] = 77, [31] = 78, [32] = 75, [33] = 79, [34] = 79 } addEventHandler("onZombieWasted", root, function (killer, weapon, bodypart) if (isElement(killer)) and (killer ~= source) and (getElementType(killer) == "player") and (bodypart == 9) then local statWeapon = statsFromWeapon[weapon] if (statWeapon) then local stat = getPedStat(killer, statWeapon) setPedStat(killer, statWeapon, stat + 50) end end end)
  16. Ala nu merge editat este compilat da oricum ms pentru comentarii... Chiar conteaza limba ? Mie imi place sa le fac in engleza. Si nu prea vad limba engleza in acest script..Nitro..? si Health.. ? Si cine a zis ca fac script-uri pentru server romanesti ? Cred că ești edita această resursă dar versiune 1.0.0 oricum e vechi
  17. use this: getPointFromDistanceRotation
  18. is there on zday script, and his name: 'onZombieWasted'
×
×
  • Create New...