Jump to content

VenomOG

Members
  • Posts

    362
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by VenomOG

  1. Many unique just that i couldn't take many screenshots. join and visit.
  2. Since none has posted any screenshots, i will. My name in game : Knuck
  3. He means.im on phone don't blame me. Code Function buyak47 Codes End add event("event name",true) addEventHandler ("event name",source,buyak47) And on client side add addEventHandler ("onClientGUIClick",guidance,function(player) Codes triggerServerEvent("event name",player) end) I did my best I'm on phone
  4. Wtf this server is amazing guys +1 everyone join.
  5. Since I'm at work RN ill come later
  6. mtasa://46.105.250.205:26000 mtasa://46.105.250.205:26000
  7. Server officialy opened @Tunner mtasa://46.105.250.205:26000
  8. @Tunner and @swag_k_dog im making one exactly like what ur looking for give me 2days to finish
  9. invert = {} matrix = {} mat = {} function getOffsetFromXYZ( mat, vec ) -- make sure our matrix is setup correctly 'cos MTA used to set all of these to 1. mat[1][4] = 0 mat[2][4] = 0 mat[3][4] = 0 mat[4][4] = 1 mat = matrix.invert( mat ) local offX = vec[1] * mat[1][1] + vec[2] * mat[2][1] + vec[3] * mat[3][1] + mat[4][1] local offY = vec[1] * mat[1][2] + vec[2] * mat[2][2] + vec[3] * mat[3][2] + mat[4][2] local offZ = vec[1] * mat[1][3] + vec[2] * mat[2][3] + vec[3] * mat[3][3] + mat[4][3] return {offX, offY, offZ} end veh = createVehicle(431,0,0,3) obj = createObject(14399,0,0,0) attachElements(obj,veh,0,0,3) addCommandHandler("offset", function () mat = getElementMatrix(veh) x,y,z = getElementPosition(obj) vec = Vector3(x,y,z) offsetTable = getOffsetFromXYZ(mat,vec) outputChatBox(offsetTable[1]..", "..offsetTable[2]..", "..offsetTable[3]) end )
  10. Hey so i have a Andromada script, i want when player enters andromada it creates cuboid and attach cuboid to the plane and if player in cuboid and hit a marker give players money in the marker CODE: function loadAndro() a = createVehicle(592, 309.95739746094, 1824.1492919922, 18.640625) setElementData(a, "fuel", 100) setTimer(fixVehicle, 2000, 1, a) end loadAndro() addEventHandler("onVehicleEnter", root, function (p, s) if source == a and s == 0 then cuboid = createMarker ( 0, 0,0, "cylinder",50, 255, 255, 255,0 ) triggerClientEvent(p, "complete",p) exports.ISGMessages:sendClientMessage("Andromada: mission has been started deliver it to SF",p,0,255,0) attachElements ( cuboid ,source, 0, 0,-2 ) marker = createMarker(-1243.03, -191.14, 13.14,"cylinder",5,255,0,255,255,getRootElement()) end end) setTimer(function () if not isElement(a) then loadAndro() end if isElementInWater(a) then destroyElement(a) end end, 5000, 0) function exit(root) triggerClientEvent("close",root) end addEventHandler("onElementDestroy", a, loadAndro) addEventHandler("onVehicleExplode", a, loadAndro) addEventHandler("onVehicleExit", a, exit) function markerhit(thePlayer) if (getTeamName(getPlayerTeam(localPlayer)) == "Gangster") then triggerClientEvent(thePlayer, "complete",thePlayer) exports.ISGMessages:sendClientMessage("Andromada: protect the mother ship until it reaches SF",root,255,0,255) end end addEventHandler("onMarkerHit",cuboid,markerhit) function sfmarkerhit(theM) triggerClientEvent(source,"complete2",source) exports.ISGMessages:sendClientMessage("Andromada: mission sucess",source,0,255,0) givePlayerMoney(root,50000) end addEventHandler("onMarkerHit",marker,sfmarkerhit) The bug is it dosnt create cuboid and when it did it dosnt attach to the ship
  11. Welcome, Fellow Multi Theft Auto players Introduction: Screenshots about our server: Some of our server Features :
  12. ---- Updates--- Police Computer. More to come! -------Updates------ Ammo transportation mission for Government
  13. ---- Updates--- Profile Card Added- for applications. A Whole new login panel NOTE: i removed the lines and fixed the image As @RavenTFR Said, i will make new systems 100% better, just suggest some please
  14. x, y, size = -2095.97632, -280.48669, 120 local greenzone = createColRectangle ( -2095.97632, -280.48669,85, 200) local greenzonemaparea = createRadarArea (-2095.97632, -280.48669,85, 200, 255,215,0, 120) function greenzoneEnter ( thePlayer, matchingDimension ) if getElementType( thePlayer ) ~= "player" then return end if (isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Owner"))) then outputChatBox ( "* You Entered The VIP Vehicle recover Area", thePlayer, 0, 255, 0 ) toggleControl ( thePlayer, "fire", false ) toggleControl ( thePlayer, "next_weapon", true ) toggleControl ( thePlayer, "previous_weapon", true ) setPedWeaponSlot ( thePlayer, 0 ) toggleControl ( thePlayer, "aim_weapon", false ) toggleControl ( thePlayer, "vehicle_fire", false ) toggleControl ( thePlayer, "vehicle_secondary_fire", false ) end end else outputChatBox("exit your not allowed here xd leave madafaker",root,255,0,0) addEventHandler ( "onColShapeHit", greenzone, greenzoneEnter ) function greenzoneExit ( thePlayer, matchingDimension ) if getElementType( thePlayer ) ~= "player" then return end outputChatBox ( "* You Left The VIP Vehicle recover Area", thePlayer, 0, 255, 0 ) toggleControl ( thePlayer, "fire", true ) toggleControl ( thePlayer, "next_weapon", true ) toggleControl ( thePlayer, "previous_weapon", true ) toggleControl ( thePlayer, "aim_weapon", true ) toggleControl ( thePlayer, "vehicle_fire", true ) toggleControl ( thePlayer, "vehicle_secondary_fire", true ) end addEventHandler ( "onColShapeLeave", greenzone, greenzoneExit ) @Samking not tested Enjoy
  15. addCommandHandler("vip",function(source) if (isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("YOURACL"))) then triggerClientEvent(source,"theclient",source) end end) @Pedro001
  16. TPF is bringing opportunities for those players who don't know scripting but wants to learn. We ( TPF staff ) offers free courses in various languages, as well as designing, for totally free. Languages we can teach you? We can teach you Lua, HTML, CSS ,PHP and MYSQL What can we teach you in designing ? Creating logos, creating banners ,posters , web design and MORE !!!(Using Photoshop cs6) Our contact: Contact DiGiTal#2028 or join our discord server : https://discord.gg/bZv6qRr For more information and tutorials visit our website : https://tutoplayfun.ml/ We have helpers 27/7 at your assistance! Our Team is devoted to help you
  17. VenomOG

    Dx Inventory

    So i have a current inventory system : See it runs on a gridlist, is there a way i can make the gridlist into a dx box diffrent items? I Will be like this It will create box and get players item.
×
×
  • Create New...