Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/09/19 in all areas

  1. The problem is that the documentation of these vertex prelights is "poor" to say the least, i tried to bring that into some of my own models but i had no success. Personally i would be glad for some help about this...
    1 point
  2. Valeu pela força mano, funcionando!
    1 point
  3. local spots = { createMarker(-1592.7145996094, 669.0302734375, 6.1875, "cylinder", 2, 255,255,255,50 ), createMarker(2487.6398925781, -1666.7453613281, 13.34375, "cylinder", 2, 255,255,255,50), } function FreezePlayer (player) local x,y,z = getElementPosition(source) setElementPosition(player, x,y,z+1) --setElementFrozen(player, true) -- Se quiser congelar o player no marker. outputChatBox("#FF0000✘ #ffffffINFO #FF0000✘➺ #ffffffTeste chat!", player, 255, 255, 255, true) end for i=1, #spots do addEventHandler("onMarkerHit", spots[i], FreezePlayer) end Dei uma limpada no código. Os markers já são criados na própria tabela.
    1 point
  4. Something like that: dbExec (db, "UPDATE accounts SET serial = ? WHERE username = ?", u_serial, username)
    1 point
  5. Does that player already has an account?
    1 point
  6. Add data to a database? INSERT INTO table_name (column1, column2 ) VALUES (?, ?) OR Get data from a database? SELECT * FROM table_name OR Import data to a database from another database.
    1 point
  7. local spots = { { -1592.7145996094,669.0302734375,6.1875+1 }, { 2487.6398925781, -1666.7453613281, 13.34375 } } local spotsElements = {} for k,v in ipairs(spots) do marker = createMarker (v[1],v[2],v[3], "cylinder", 2, 255,255,255,50) table.insert(spotsElements, marker) end function FreezePlayer (source) outputChatBox("#FF0000✘ #ffffffINFO #FF0000✘➺ #ffffffTeste chat!", source , 255, 255, 255, true) end for i=1, #spotsElements do addEventHandler("onMarkerHit", spotsElements[i], FreezePlayer) end
    1 point
  8. True is true. It means just, yes go add it. It has probably been added to not have to add another Lua IF statement for the AND sql keyword. "true" .. " and serial = 3442" Or if the table is empty. Anyway, the example is correct, the query on the other hand doesn't looks like it is correct: true and serial = 3442 and serial = 3663 and serial = 4532 Shouldn't this be more logic? serial = 2332 or serial = 3442 or serial = 2324 It can be my imagination...
    1 point
  9. I replied to you on Discord with the link
    1 point
  10. onClientMarkerHit guiSetVisible showCursor Se for painel DX: addEventHandler onClientRender showCursor
    1 point
  11. Hey, i reworked mta community webpage. I apologize in advance for my bad english Russia power!
    1 point
  12. DragonFF is an import and export script for Blender.Blender is a free and open source 3d modeller. It has lacked proper DFF plug-ins support for a long time. Even though a few scripts were made, they didn't have enough features to completely make Blender a viable alternative for GTA modding.Although not complete yet, it supports most of the features required for basic model editing. Author: Zarig Developed topic: https://gtaforums.com/topic/925364-dragonff-blender-gta-io/?tab=comments#comment-1070663252 GitHub: https://github.com/Zarig/DragonFF
    1 point
×
×
  • Create New...