Jump to content

xJulianGilx

Members
  • Posts

    11
  • Joined

  • Last visited

About xJulianGilx

  • Birthday 07/01/2000

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

xJulianGilx's Achievements

Square

Square (6/54)

0

Reputation

  1. idownload this ransks system and i have bugs please help me solve it here> https://community.multitheftauto.com/index.php?p=resources&s=details&id=15543 and these are the errors that appear in the console ERROR: xX_RankSystem \ server.Lua: 127: exports: call to server resource not running (tactics) [string "?"] ERROR: xX_RankSystem \ server.Lua: 127: Attempt to index a null value addEventHandler("onPlayerDamage", root, function(attacker, _, _, loss) if exports.tactics:getRoundMapInfo()["modename"] ~= "lobby" then <línea 127> if attacker and getElementType(attacker) == "player" and attacker ~= source then local account = getPlayerAccount(attacker) if account and not isGuestAccount(account) then local accountName = getAccountName(account) temporaryTable[accountName]["total_hits"] = temporaryTable[accountName]["total_hits"] + 1 temporaryTable[accountName]["total_dmg"] = temporaryTable[accountName]["total_dmg"] + math.ceil(loss) local assistsTable = getElementData(source, "assists") or {} if assistsTable[accountName] then assistsTable[accountName] = assistsTable[accountName] + math.ceil(loss) else assistsTable[accountName] = math.ceil(loss) end setElementData(source, "assists", assistsTable, false) if isTimer(assistsTimer[source]) then resetTimer(assistsTimer[source]) else assistsTimer[source] = setTimer(function(source) assistsTimer[source] = nil if isElement(source) then setElementData(source, "assists", {}, false) end end, 10000, 1, source) end end end end end) Thank you for viewing my message, I would appreciate responses if you can
  2. but thanks anyway with the idea you gave me I was able to do this, and it worked Hud = guiCreateLabel(0, 0, 0, 0, "", false) function HideShow() if ( guiGetVisible (Hud) == false) then guiSetVisible (Hud, true) -- Este Es el Laber FAKE PARA PODER OCULTAR EL HUD Y ABRIR EL HUD showChat(true) showPlayerHudComponent("all",true) setPlayerHudComponentVisible ( "radar", true ) setPlayerHudComponentVisible ( "all", true ) setPlayerHudComponentVisible ( "clock", true ) showPlayerHudComponent ( source, "ammo", true ) showPlayerHudComponent ( source, "weapon", true ) showPlayerHudComponent ( source, "radar", true ) else guiSetVisible(Hud, false) -- Este Es el Laber FAKE PARA PODER ABRIR EL HUD Y OCULTAR EL HUD showCursor(false) showChat(false) showPlayerHudComponent("all",false) outputChatBox("Hud Disable", source, 255, 0, 0, true) showPlayerHudComponent ( source, "weapon", false ) showPlayerHudComponent ( source, "radar", false ) showPlayerHudComponent ( source, "ammo", false ) setPlayerHudComponentVisible ( "radar", false ) setPlayerHudComponentVisible ( "clock", false ) setPlayerHudComponentVisible ( "all", false ) showPlayerHudComponent("all",false) end end bindKey("f5", "down", HideShow)
  3. yes but I also tried with a single function that is all fake and it did not work
  4. A question and how can you put it for the player is what I'm looking for please help me !! function hudChangerOFF () setPlayerHudComponentVisible ( "radar", false ) setPlayerHudComponentVisible ( "clock", false ) setPlayerHudComponentVisible ( "all", false ) showPlayerHudComponent ( source, "ammo", false ) showPlayerHudComponent ( source, "weapon", false ) showPlayerHudComponent ( source, "radar", false ) showPlayerHudComponent("all",false) showChat(false) showCursor ( false ) end addCommandHandler ("visiblehud", hudChangerOFF) function hudChangerON () setPlayerHudComponentVisible ( "radar", true ) setPlayerHudComponentVisible ( "all", true ) setPlayerHudComponentVisible ( "clock", true ) showPlayerHudComponent ( source, "ammo", true ) showPlayerHudComponent ( source, "weapon", true ) showPlayerHudComponent ( source, "radar", true ) showChat(true) showCursor ( true ) showPlayerHudComponent("all",false) end addCommandHandler ("disablehud", hudChangerON) I want that when the player puts visiblehud everything is opened and when I put disablehud everything is hidden
  5. they forgive the inconvenience, but there is no function that when the player is killed the cuepo becomes invisible and when the game starts again it is a tactics
  6. https://community.multitheftauto.com/index.php?p=resources&s=details&id=13495
  7. Hi, I need the function that when I kill a player, the body is eliminated Please
  8. addEventHandler ("onClientGUIClick", resourceRoot,function () local veh = getPedOccupiedVehicle(player) if isPedInVehicle(player) then if getPedOccupiedVehicleSeat(player) == 0 then end end if source == PlayerSkin1 then SetPlayerSkin(playerid, 277); end end )
  9. Hola Si Funciona Pero Solo Speed Y Zoom Sniper Pero AutoHockey no lo decteta por favor hacer una para el autohockey que la tecla es Alt
×
×
  • Create New...