Jump to content

al19ja

Members
  • Posts

    2
  • Joined

  • Last visited

Details

  • Gang
    Code:Black

al19ja's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. Hello I Need Help By a Scipt I want It With Wen I Tip fire In chat Box Then Shoot Rockets Not Wen I Press i Please Help Me Or Fix it for me theVehicle = createVehicle(600, 2530.413, -1710.22, 13.323, 0, 0, 0, "RocketCar") setElementData(theVehicle,"rocket",true) zenit = createObject(3884, 2530.621, -1715.385, 12.489) attachElements(zenit, theVehicle, 0,-1.8,-0.5) function bindKeyStartFire() bindKey(source,"i","down",startfireRocket) end addEventHandler("OnPlayerJoin", getRootElement(),bindKeyStartFire) function startfireRocket(source) if isPedInVehicle(source) then local vehicle = getPedOccupiedVehicle(source) if getElementData(vehicle,"rocket") == true then if getVehicleController(vehicle) == source then local x,y,z = getElementPosition(vehicle) local rx,ry,rz = getVehicleRotation(vehicle) if getElementData(vehicle,"rocket_Progress") == 100 then triggerClientEvent("fireRocket", getRootElement(), source, x, y, z, rz,vehicle) else playSoundFrontEnd(source,5) outputChatBox(""..tostring(100 - getElementData(vehicle,"rocket_Progress"))..".", source, 0, 0, 0,true) end end end end end function explodeZUvehicle() if getVehicleOccupant(source) then local player = getVehicleOccupant(source) if (getElementData(source,"rocket") == true) then triggerClientEvent(player, "destroiGui", getRootElement(),player) end end end addEventHandler("onVehicleExplode", getRootElement(), explodeZUvehicle) Good Gretings From Alex
  2. I got a problem with this script, i don´t know why it isn´t working function openSecretDoor(player, commandName, pw) if(pw == "1998") then createObject ( 20, -1530.2584228516, 482.34985351563, 9.657434463501, 0, 0, 0 ) moveObject ( Oelement, 20, -1539.044921875, 482.09069824219, 9.657434463501 ) moveObject ( 40, -1530.2584228516, 482.34985351563, 9.657434463501, ) end end addCommandHandler ( "opendoor", openSecretDoor ) plese help me
×
×
  • Create New...