Jump to content

Gabrielll

Members
  • Posts

    1
  • Joined

  • Last visited

Gabrielll's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. Alguem pode arrumar para min ? (aparece esse erro) ERROR: tele\tp.Lua:6 attempt to concatenate upvalue 'accName' (a boolean value) ERROR: tele\tp.Lua:16 attempt to concatenate upvalue 'accName' (a boolean value) local entrarInterior = createMarker(-2413.875, -601.86, 132.563, 'cylinder', 1.5, 255, 255, 0, 170 ) -- Local onde o marker de entrada ira ser criado. local sairInterior = createMarker(-2412.739, -597.491, 132.627, 'cylinder', 1.5, 255, 255, 0, 170 ) -- Local onde o marker de saida ira ser criado. local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) -- get his account name --/-- function entrarLocal ( hitElement, matchingDimension ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then if getElementType( hitElement ) == "player" and not isPedInVehicle(hitElement) then -- Se o elemento que colidir for um player e não estiver em um veículo então: setElementPosition(hitElement, -2410.438, -597.773, 132.648) -- Posição Do Interior setElementInterior ( hitElement, 0) -- Interior ID end end end addEventHandler( "onMarkerHit", entrarInterior , entrarLocal ) --/-- function sairLocal ( hitElement, matchingDimension ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then if getElementType( hitElement ) == "player" and not isPedInVehicle(hitElement) then -- Se o elemento que colidir for um player e não estiver em um veículo então: setElementPosition(hitElement, -2411.634, -602.279, 132.563) -- Posição Do Interior setElementInterior ( hitElement, 0 ) -- Interior ID end end end addEventHandler( "onMarkerHit", sairInterior , sairLocal )
×
×
  • Create New...