Knuck

Members
  • Content count

    147
  • Joined

  • Last visited

  • Days Won

    1

Knuck last won the day on September 16

Knuck had the most liked content!

Community Reputation

10 Decent

About Knuck

  • Rank
    Busta

Details

  • Gang
    SAEG
  • Location
    /loc Knuckles
  • Occupation
    SWAT
  • Interests
    Lua/ Making people happy

Recent Profile Visitors

840 profile views
  1. Trader GUI Added, Just click Images
  2. Knuck

    Looking for an RPG server

    @Tunner and @swag_k_dog im making one exactly like what ur looking for give me 2days to finish
  3. 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 )
  4. if source == a and s == 0 then
  5. 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
  6. Host has been baught. 1 Step Closer
  7. Welcome, Fellow Multi Theft Auto players Introduction: Screenshots about our server: Some of our server Features :
  8. ISG Is Down, URC has been born fresh Login :
  9. ---- Updates--- Police Computer. More to come! -------Updates------ Ammo transportation mission for Government
  10. Knuck

    Help radar Area for acl group

    Sorry I was on phone
  11. ---- 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
  12. Knuck

    Help radar Area for acl group

    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
  13. Knuck

    Private VIP Panel?

    addCommandHandler("vip",function(source) if (isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("YOURACL"))) then triggerClientEvent(source,"theclient",source) end end) @Pedro001
  14. 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