Jump to content

roddydennvor

Members
  • Posts

    132
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

roddydennvor's Achievements

Poot-butt

Poot-butt (14/54)

0

Reputation

  1. hmm , you can create script when player enter vehicle , check vehicle id and make text like that , but you must disable original text
  2. Can someone tell me how to replacing driving sound , i mean i want to change infernus sound from original to my custom sound of ferrari sound mod , How to do ?
  3. hmm not work : if exports.global:hasItem(theVehicle, 10) then setVehicleHandling(theVehicle, "maxVelocity", 300.0) setVehicleHandling(theVehicle, "engineAcceleration", 90.0 ) end
  4. so i just use like this ... ??? if (itemID == 10) then setVehicleHandling(v, "maxVelocity", 300.0) end
  5. Hii there , how to use setmodelhandling with item system ? So when i have item id 10 in my vehicle , then my vehicle velocity +30 from normal velocity and my vehicle brake ABS turn to True ..
  6. Solved , just copy this Script to item system , thanks
  7. roddydennvor

    HELP !!

    How to change this Script... I want this script set to addeventhandler , not addcommandhandler And how to edit this script so when i use item id 90 then this script will be work ... ?? local cases = {} for i,v in ipairs(getElementsByType("player"))do setElementData(v, "ffhelmet", 0) end addCommandHandler("ffhelmet", function(player) if(getResourceState(getResourceFromName("bone_attach")) == "running")then if(getElementType(player) == "player")then if(getElementData(player, "helmet") ~= 1)then setElementData(player, "helmet", 1) case = createObject(2054,0,0,0) exports.bone_attach:attachElementToBone(case,player,1,0,0.04,0.06,0,0,180) cases[player] = case elseif(getElementData(player, "helmet") == 1)then setElementData(player, "helmet", 0) exports.bone_attach:detachElementFromBone(cases[player]) destroyElement(cases[player]) end end else outputChatBox("ERROR #1", player, 255, 50, 0) end end )
  8. can i change "export" to "getPedWeapon for this case ?
  9. MTA itu itungan waktunya pakai Milisecond , 1 menit = 60000 milisecond ,, jadi kalau itu settingan 10 menit , 10x60000 = 600000 , cari aja itu angka , terus diubah deh
  10. Gampang lah ,,, Mau dibantu ? suruh aja si Ezza chat ke Gw ,,, Arthur alvaro ,,, owner Crusher gaming roleplay :v :v
  11. no no , i want to upgrade this script , so if i have item id 49 i can repair vehicles. i just try to add this : if not(exports.global:hasItem(thePlayer, 49)) then outputChatBox("You need a fishing rod to fish.", thePlayer, 255, 0, 0) ......... But nothing happend
  12. hii there , i want to make this script work if the player have item id 49 , but how ... ? Here is the script function serviceVehicle(veh) if (veh) then local mechcost = 100000 if (getElementData(source,"faction")==16) then mechcost = mechcost / btrdiscountratio end if not exports.global:takeMoney(source, mechcost) then outputChatBox("Kamu tidak dapat membayar service ini.", source, 255, 0, 0) else local health = getElementHealth(veh) if (health <= 850) then health = health + 150 else health = 1000 end fixVehicle(veh) setElementHealth(veh, health) if not getElementData(veh, "Impounded") or getElementData(veh, "Impounded") == 0 then exports['anticheat-system']:changeProtectedElementDataEx(veh, "enginebroke", 0, false) if armoredCars[ getElementModel( veh ) ] then setVehicleDamageProof(veh, true) else setVehicleDamageProof(veh, false) end end exports.global:sendLocalMeAction(source, "memperbaiki kendaraan.") exports.logs:dbLog(source, 31, { veh }, "REPAIR QUICK-SERVICE") end else outputChatBox("Kamu harus berada di dalam kendaraan yang akan di perbaiki.", source, 255, 0, 0) end end addEvent("serviceVehicle", true) addEventHandler("serviceVehicle", getRootElement(), serviceVehicle)
  13. Okay thank you very much for this information
  14. Hmm, how to use setElementModel ??? Like this... ? setElementModel ( theSkin, 301) or setElementModel ( source, 301 )
×
×
  • Create New...