Jump to content

FbzinnN

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About FbzinnN

  • Rank
    Vic

Details

  • Location
    Brasil
  • Occupation
    Rio de Janeiro
  1. local LojinhaDsujo = math.random(1000, 3500) Caixas = { --LS [1] = {2080.4318847656,2057.5776367188,11.0546875}; [2] = {1106.7760009766,-1365.8386230469,13.973905563354}; } Marker = {} Roubando = { [1] = false; [2] = false; } function CriarMarkers() for i, MarkerTable in pairs(Caixas) do Marker[i] = createMarker(MarkerTable[1], MarkerTable[2], MarkerTable[3] -1, "cylinder", 1.2, 255,0, 0, 0) end end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), CriarMarkers) function roubarCaixa(source) if isObjectInACLGroup("user."..getAccountName(get
  2. Marker_Van = {} function Pegar_Caixa_trabLixeiro (source) local Occupied_Veh = getPedOccupiedVehicle(source) local Veiculo = getPedOccupiedVehicle(source) if not isPedInVehicle ( source ) then if (getElementModel (Occupied_Veh) == 408) then Marker_Van[source] = createMarker ( 0, 0, 0, "cylinder", 1.2, 16, 111, 231, 90) attachElements ( Marker_Van[source], Veiculo, 0, -4.5, -1.2 ) setElementVisibleTo ( Marker_Van[source], source, true ) end end end end
  3. Error at line 6: ERROR aclGetGroup (a nil value) local drawDistance = 7 g_StreamedInPlayers = {} function isPlayerInACL(player , acl) if isElement(player) and getElementType(player) == "player" and aclGetGroup(acl) and not isGuestAccount(getPlayerAccount(player)) then local account = getPlayerAccount(player) return isObjectInACLGroup ( "user.".. getAccountName(account), aclGetGroup(acl) ) end return false end function onClientRender() local cx, cy, cz, lx, ly, lz = getCameraMatrix() for k, player in pairs(g_StreamedInPlayers) do if isElement(player) and isElementStream
×
×
  • Create New...