Jump to content

Tekken

Helpers
  • Content Count

    1,296
  • Joined

  • Last visited

  • Days Won

    14

Tekken last won the day on March 13

Tekken had the most liked content!

Community Reputation

146 Excellent

About Tekken

  • Rank
    Forum Helper
  • Birthday 26/08/1997

Details

  • Gang
    DayZ
  • Location
    Romania
  • Occupation
    Dev and player!
  • Interests
    Lua, PHP, MySQL, JavaScript, HTML, CSS

Recent Profile Visitors

6,825 profile views
  1. @Bean666 might want to add <oop>true</oop> to meta.xml to make sure that works
  2. Hello, I’ve moved your topic to scripting section for best results! I cannot understand your question will you please develop?
  3. Hello and welcome! Will you please edit your topic and use the code tags <> for us to better understand your code? Greetings!
  4. Hello I’ve moved your topic to appropriate section! You need to set stats with https://wiki.multitheftauto.com/SetPedStat setPedStat(player, 77, 999) setPedStat(player, 78, 999) That will make it for AK47 and M4 Do this onPlayerSpawn/Join
  5. https://wiki.multitheftauto.com/wiki/SetCameraMatrix That should do what you want, it will require some math though.
  6. Your's is INSERT INTO `logging` SET name= 0, account= ?, type= ?, type2= ?, tick= ?, action= ?, serial= ? Notice the 0 for name where should be ?
  7. Make controller = ped in dvo.load function
  8. Change this: dvo.allowedElementType = { ["ped"] = true; } with this dvo.allowedElementType = { ["player"] = true, ["ped"] = true }
  9. So you are trying to apply this only to PEDS and not PLAYERS, I'm I right ? And this is only working for you? And not for other clients?
  10. It’s simple: local name = getTeamName(team); if name == "1" then -- do something elseif name == "2" then -- do something else else -- do something else else.. end And so on and so forth. This is just an idea you can make it even better with tables and stuff much faster/better.
  11. First of all you should move the getPlayetTeam after the getElementType function so you make sure it's a player: This should do it: addEventHandler("onColShapeHit", group, function(hitElement) if getElementType(hitElement) == "player" then local team = getPlayerTeam(hitElement) or false; local CN = getElementData(source, "name"); --?? for i = 1, #C do if source == C[i] then if team then outputChatBox(getTeamName(team), hitElement, 255, 0, 0, true); end end end end end);
  12. Tekken

    String

    He wanted to somehow convert a string to an already existing variable that was storing an element, I have told him on pm that’s not possible, he made this topic as yesterday night I didn’t answered at time. For now it’s fixed.
  13. Hello guys, does anyone know how can I remove only the 3 big cities of San Andreas ?
  14. Tekken

    [HELP] AdminTag

    my bad function onClientRender() local cx, cy, cz, lx, ly, lz = getCameraMatrix(); for k, player in pairs(g_StreamedInPlayers) do if isElement(player) and isElementStreamedIn(player) then local cargo_player = getElementData(player, "cargo") or ""; if cargo_player and cargo_player ~= "" then local vx, vy, vz = getPedBonePosition(player, 8); local dist = getDistanceBetweenPoints3D(cx, cy, cz, vx, vy, vz); if dist < drawDistance and isLineOfSightClear(cx, cy, cz, vx, vy, vz, true, false, false) then local x, y = getScreenFromWorldPosition(vx, vy, vz + 0.3);
  15. Tekken

    [HELP] AdminTag

    function onClientRender() local cx, cy, cz, lx, ly, lz = getCameraMatrix(); for k, player in pairs(g_StreamedInPlayers) do if isElement(player) and isElementStreamedIn(player) then local cargo_player = getElementData(player, "cargo") or ""; if cargo_player and cargo_player ~= "" then local vx, vy, vz = getPedBonePosition(player, 8); local dist = getDistanceBetweenPoints3D(cx, cy, cz, vx, vy, vz); if dist < drawDistance and isLineOfSightClear(cx, cy, cz, vx, vy, vz, true, false, false) then local x, y = getScreenFromWorldPosition(vx, vy, vz + 0.3); if x and y
×
×
  • Create New...