Jump to content

AjaxFTW

Members
  • Posts

    43
  • Joined

  • Last visited

Everything posted by AjaxFTW

  1. AjaxFTW

    Server list spam

    Hello ccw i would report someone who's using my server name which i run for many years, And closed it for a short time then when i back to start it back i found that he is my server name and someone of his server admins using my name too, And all the players think that this guy is me Please i need someone to warn him or punish him, I really have a big problem with him and i warned him to close it or use another name but he didn't and i told him that i can report him and he replied me "I Don't Care about your idiot MTA admins", Please guys someone do anything with this guy, And thanks for your time. Server IP : mtasa://51.255.215.248:23140 If anyone check it , You will see that this is my server name tag ( CIF ) which owned by me.
  2. thank you ❤
  3. Hello mta admins i would report someone who's using my server name which i run for many years, And closed it for a short time then when i back to start it back i found that he is my server name and someone of his server admins using my name too, And all the players think that this guy is me Please i need someone to warn him or punish him, I really have a big problem with him and i warned him to close it or use another name but he didn't and i told him that i can report him and he replied me "I Don't Care about your idiot MTA admins", Please guys someone do anything with this guy, And thanks for your time. Server IP : mtasa://51.255.215.248:23140 If anyone check it , You will see that this is my server name ( CIF ) which owned by me.
  4. No thing happens no errors no warnings nothing.
  5. Guys what's wrong with that code REMOVED It's not working IDK why
  6. AjaxFTW

    Peds problem

    Fixed. Thx guys for your hard work.
  7. AjaxFTW

    Peds problem

    when i did, the players told me that they see ped just moving, can't see ped have any weapon.
  8. AjaxFTW

    Peds problem

    Your Trigger working 100% but still the problem weapon and fire not visible for other players, only me who's can see because i'am near by the ped.
  9. AjaxFTW

    Peds problem

    that my last one used and not working too function cmdArmedPed(player,_) local x, y, z = getElementPosition(player) -- Get your position local thePed = createPed(0, x + 1, y, z) -- Create a CJ ped nearby setTimer ( function ( ped ) giveWeapon( ped, 31, 5000, true) -- Give him 5000 rounds of M4 setControlState( ped, "fire", true) -- Make him shoot continuously end, 100, 1, thePed ) end addCommandHandler("armedped", cmdArmedPed)
  10. AjaxFTW

    Peds problem

    also i used that as client side addEventHandler( "onClientResourceStart", getRootElement( ), function ( ) local ped5 = createPed (280, 1554.4716796875, -1673.5078125, 16.1953125, 90) setTimer ( function ( ped5 ) givePedWeapon( ped5, 31, 5000, true) -- Give him 5000 rounds of M4 end, 100, 1, ped5 ) end) but still have same the problem is being weapon not visible for the other players until they near by the ped when resource start.
  11. AjaxFTW

    Peds problem

    i already removed it and tried many codes, can you come to my server and see?! if possible.
  12. AjaxFTW

    Peds problem

    @Bouns I used Trigger but whole script didn't work it was 100% Bugged.
  13. AjaxFTW

    Peds problem

    It's working and all players see it but only when Ped create i mean if the player not in the area and i'am used the command then he come to the area to look at ped he see ped but don't see the weapon also if i used the command again and he is next to me he can see it with weapon, so what i need is making it working with all players just when resourceStart, and not important if it will be server or client the important is make weapon visible for all.
  14. AjaxFTW

    Peds problem

    @Kariim as server side or client side?! and will be visible for all?
  15. AjaxFTW

    Peds problem

    BUt it's client side there's any way to be used as server side and make all players see it?
  16. AjaxFTW

    Peds problem

    yea Working!! thank you too much brother
  17. AjaxFTW

    Peds problem

    My problem not the weaponStat my problem is making the ped Carry weapon i just want it carry weapon that's all if any one can help please.
  18. AjaxFTW

    Peds problem

    Guys, I'am used MTA client side function for creating ped with weapon and shooting but didn't work IDK why!! function cmdArmedPed( command ) local x, y, z = getElementPosition(localPlayer) -- Get your position local thePed = createPed(0, x + 1, y, z) -- Create a CJ ped nearby givePedWeapon(thePed, 31, 5000, true) -- Give him 5000 rounds of M4 setControlState(thePed, "fire", true) -- Make him shoot continuously end addCommandHandler("armedped", cmdArmedPed) Any Help?!
  19. No one can help guys?!!
  20. Hey, guys any one know how to bind this function on "Enter" function disableAll() if (guiGetEnabled(loginWindow["mainWindow"]) == true) then guiSetEnabled(loginWindow["mainWindow"], false) end end addEventHandler("onClientGUIClick", loginButton["Main"], disableAll, false) need to be bound on enter please guys.
  21. AjaxFTW

    Help Please

    no no i don't want change weapon skill or weapon damage for example if i'am using skin ID 212 and some one shot me i want to control my ped damage.
  22. AjaxFTW

    Help Please

    Hey, All Any one here know any code about players damage and controlling it?! for example if some one shot me and weapon damage me 50HP there's any code can control damage make it 20HP or 10HP etc...??
  23. local hijackT = { {1219.830078125, -1424.0595703125, 13.304864883423, 0, 0, 89.361419677734}, {1249.0126953125, -1257.7177734375, 13.140056610107, 0, 0, 273.76425170898}, {1421.8447265625, -1298.923828125, 13.5546875, 0, 0, 178.47839355469}, {1519.55859375, -1464.7626953125, 9.5, 0, 0, 180.64819335938}, {1785.525390625, -1247.564453125, 13.78784942627, 0, 0, 180.88441467285}, {1268.341796875, -900.681640625, 42.8828125, 0, 0, 179.04418945313}, {2716.43359375, -1846.7705078125, 9.527813911438, 0, 0, 157.59301757813}, {1973.1953125, -1222.4453125, 20.0234375, 0, 0, 93.596710205078}, {1683.5693359375, -2248.5478515625, -2.6734189987183, 0, 0, 88.921936035156}, {-2114.8369140625, -2410.1806640625, 31.281492233276, 0, 0, 317.65530395508}, {2379.2939453125, 75.5146484375, 27.221626281738, 0, 0, 271.45159912109}, {-1006.03515625, -643.421875, 32.0078125, 0, 0, 90.174407958984}, {343.966796875, -1810.021484375, 4.4992127418518, 0, 0, 0.94760131835938}, {2792.1806640625, -1429.37890625, 36.09375, 0, 0, 268.15014648438}, } local hijackCar = { {402}, {429}, {415}, {541}, {475}, {557}, {568}, {480}, {587}, {565}, {602}, {451}, {477}, } local hijackDT = { {2790.3515625, -2456.5908203125, 12.633037567139}, {-2535.45703125, -603.28125, 131.562}, {-1947.033203125, 1384.6689453125, 6.1842346191406}, {-309.84765625, 1531.3017578125, 74.359375}, {-1979.05078125, 433.1484375, 24.684421539307}, {2804.23828125, -1429.646484375, 39.05331802368}, {-2245.462890625, 2371.8662109375, 3.996054649353}, {-2088.697265625, -2334.876953125, 29.625}, {-2754.69140625, 374.138671875, 3.339025497436}, {1245.85546875, -2027.7939453125, 58.830238342285}, {-1407.2783203125, -312.3896484375, 12.992641448975}, } function startHijackTable() if (exports.CORteams:isPlayerInTeams(source, "Staff")) then else if (exports.CORteams:isPlayerInTeams(source, "Criminals")) then return end random = math.random(#hijackT) model = math.random (#hijackCar) x, y, z, rx, ry, rz = hijackT[random][1], hijackT[random][2], hijackT[random][3], hijackT[random][4], hijackT[random][5], hijackT[random][6] hijackStart = createVehicle ( hijackCar[model][1], x,y,z,rx,ry,rz ) setVehicleDamageProof ( hijackStart, true ) x1, y1, z1 = getElementPosition ( hijackStart ) hijackBlip1 = createBlipAttachedTo (hijackStart, 53) setBlipVisibleDistance ( hijackBlip1, 12000000 ) exports.CORtexts:output ( "Hijack has been requested and placed on your map get it first!", root, 255, 0, 0, true ) end end setTimer(startHijackTable, 50, 1) What's wrong with that code?! the vehicle get damage as i made damage proof true!! Help please!!
  24. Bro it's part of full code here you are the full code function enterSafeZone(element, matchingDimension) local level = getPlayerWantedLevel ( localPlayer ) if ( level > 0 ) then toggleControl(localPlayer, "sprint", false) end if (element ~= localPlayer or not matchingDimension) then return end if (getElementDimension(element) ~= 0) then return end if (isPlayerInTeam(localPlayer, "Staff")) then return end if (isTimer(leaveTimer)) then killTimer(leaveTimer) end if getElementHealth(localPlayer) <= 30 then setElementHealth(localPlayer, 0) exports.CORtexts:output("you have been killed for camping!", 255, 0, 0) end if (isPlayerInTeam(localPlayer, "Police Force") or isPlayerInTeam(localPlayer, "Police") or isPlayerInTeam(localPlayer, "Government") or isPlayerInTeam(localPlayer, "SWAT")) then exports.CORtexts:output("You have entered a no-camping zone.", 0, 255, 0) setPedWeaponSlot(localPlayer, 0) exports.CIFhelp:modTextBar("campHandler", "Protected, no camp area", 0, 255, 0) else setPedWeaponSlot(localPlayer, 0) exports.CIFhelp:modTextBar("campHandler", "Protected, no camp area", 0, 255, 0) end end
×
×
  • Create New...