Jump to content

NeoTheMatrix

Members
  • Posts

    7
  • Joined

  • Last visited

NeoTheMatrix's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. I already found that, but its not complited.. in that script are missing some items, guns, and 3 scripts are not finiched.. also open source isn't finished...
  2. Hello i want to get some dayz gamemode, just edit and set on server but i cant get any decompiled gamemode all is simalar but all is compiled. is there some dayz gamemode who isn't? and where can get it? i got idea to Dayz roleplay ;D but cant try because roleplay isn't compiled but dayz is..
  3. Vhat? No _- I just asking how to make a shop... pawn shop.. oh.. okayy.. i found by my own.
  4. Hello again, so i got a new problem, i want to make pawn shop, but dont know how. Is this possible? My idea is like a normal shop but in buy menu, there can be sell, that items can be sold on this shop also can buy that item who has sold. Well like real pawn shop.. But i dont know how to change that in script, so help, this script is for mta roleplay
  5. It is whole script.. this is only who doesnt work.. because when i cut this then drugs work properly if isTimer(drug9Timer) then killTimer(drug9Timer) drug9Timer = nil resetDrug9Effect() end This is in the same script reset timer i guess.. this is on server side if (itemID==208) then takeItemFromSlot(source, itemSlot) exports.global:applyAnimation(source, "FOOD", "EAT_Burger", 4000, false, true, true) exports.global:sendLocalMeAction(source, "Varonīgi apēd steroīdu tabletes.", source, 255, 0, 0) exports.global:sendLocalDoAction(source, "Redzams ka muskuļi uzblīst.", source, 255, 0, 0) setElementHealth(source,getElementHealth(source)-20) and this is on client side if (itemID==208) then doDrug9Effect()
  6. Hello I want to ask, is in this script something wrong? Because it doesn't work properly... The idea is that, when player gets "Steroid" then when he attack player the player got hited and lose 50% more hp then without steroid, but the problem is that the steroid in one time take hp from me.. other time break all item-system.. or even don't work.. here that script.. some text is in latvian language, because it for latvians sorry about bad english -- DRUG 9 EFFECT drug9effect = false drug9timer = nil function doDrug9Effect() if not (drug9effect) then drug9effect = true addEventHandler("onClientVehicleEnterDelayed", getLocalPlayer(), cancelEvent) drug2timer = setTimer(resetDrug9Effect, 120000, 1) end end function playerDamage ( attacker, weapon, bodypart, loss ) if getElementData(attacker,"onDrug9Effect") == true then setElementHealth ( source, getElementHealth(source) -50 ) end end function resetDrug9Effect() drug9effect = false removeEventHandler("onClientVehicleEnterDelayed", getLocalPlayer(), cancelEvent) end I think the problem is on 12 bar.. but.. i dont know how to change it.. because server dont understand if i change to makeElementHealth..
  7. Well Hello, I have some question about scripting, is there possible in mta, to create a cinema center ? I mean this - take this mapping https://community.multitheftauto.com/in ... ls&id=3221 and put a streaming on that tv screen in middle of hall. But will that video stream or not? I know there can stream music but will there can stream a youtube video? And add a event who count the viewers who realy wach it.. I ask it for u because i have this ideo for some roleplay but i dont know how to make this.. Sorry about my bad englis, but i hope you understand what i thinking
×
×
  • Create New...