Jump to content

Daniel RP

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

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

Daniel RP'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. Eu fiz um site recentemente para enviar alguma requisição para o Mta, assim enviando um comando que seria executado no jogo, até ai tudo bem eu fiz codigo do site bonitinho retornando um array em json exemplo: "{\"a\":\"b\"}" eu tentei utilizar assim no mta. local title, value = fromJson(myvariable); E está me retornando o mesmo valor. O mta aceita JSON? É possível fazer isso que estou tentando?
  2. Daniel RP

    Support

    I have a small doubt, I made a script to send message through the client. With an infobox and it can only show if it is in the root element. And I want to know if it will send this message to everyone when a person passes by the marker or just to the client function onClientCJMarkerHit ( hitElement, matchingDimension ) if ( matchingDimension ) then if (not isElement(hitElement)) then return end if (isPedInVehicle(hitElement)) then return end if ( hitElement == localPlayer ) then if ( getElementModel ( localPlayer ) == 0 ) then local x1, y1, z1 = getElementPosition(source) local x2, y2, z2 = getElementPosition(hitElement) local maxZ = z1 + 2 if (z2 > maxZ) then return end fadeCamera( false, 1.0, 0, 0, 0 ) setTimer( fadeCamera, 2000, 1, true, 1.0, 0, 0, 0 ) toggleAllControls ( false, true, false ) local px, py, pz = getElementPosition( localPlayer ) x, y, z, int, dim = px, py, pz, getElementInterior( localPlayer ), getElementDimension( localPlayer ) pricesModel = {} previousModel = createClothesJSONString ( "table" ) setTimer( function () setElementFrozen( localPlayer, true ) setElementPosition(localPlayer, 210.48928833008,-33.030361175537,1001.9296875) setElementDimension( localPlayer, math.random( 10,6543 ) ) setCameraMatrix( 208.20829772949,-35.354099273682,1002.6522216797,208.90832519531,-34.640968322754,1002.6147460938,0,90 ) setTimer( function () setElementRotation( localPlayer, 0, 0, 133.19290161133 ) end, 1000, 2 ) setTimer( function () guiSetVisible ( CJClothesWindow, true ) showCursor( true ) end, 1000, 1 ) end, 1200, 1 ) else triggerEvent( "addNotification", root, "Você precisa da skin do CJ antes de poder definir a roupa!") end end end end
×
×
  • Create New...