Jump to content

Gordon_G

Members
  • Content Count

    282
  • Joined

  • Last visited

Community Reputation

64 Popular

About Gordon_G

  • Rank
    Pee-Wee
  • Birthday April 10

Details

  • Location
    Lille, France

Recent Profile Visitors

3,670 profile views
  1. A dbPoll return a value like this : { { ["col_name1"] = value, ["col_name2"] = value }, -- row 1 { ["col_name1"] = value, ["col_name2"] = value }, -- row 2 } Etcetera... So in your example, <v> variable is something like : { ["col_name1"] = value, ["col_name2"] = value }, -- row 1 So you may need a second for loop to index the columns and their values in this <v> row
  2. Hi, I highly advise you to take a look to the "bengine" ressource to take a look at how it actually works The main issue is that you have to disable EVERY VEHICLE SOUNDS for EVERY VEHICLES in order to achieve what you are trying to do (and that's how the previously mentionned resource works)
  3. Great work I've personnaly manually updated my bone_attach resource the exact day when the onClientPedsProcessed got realized. I've immediatly seen the difference. Now attached elements are totally synced with the ped movement because when you use onClientRender or onClientPreRender you have a little delay beforce re-positionning the attached obj when the player moves very fast (like aiming).
  4. Solved, TXD has to be replaced first, then DFF
  5. @TheNormalnij This is just a bunch of code I made yesterday https://mega.nz/file/CthTBQzR#nCJpE20HC51un054_B-UF-dgYYBZX_Q3OTeXrx94iWA If you have any question about it feel free to ask
  6. Hi, Here are two vehicles created by script. The grey one is a Virgo that has a replaced model, there is no issue about its textures. The red one is a vehicle created server-sidely as a Virgo. Then its model is replaced client-sidely by a new model wich is requested by engineRequestModel the parentId is 491 (wich is the Virgo's id) As you can see the red vehicle suffers from textures problem and I can't seem to resolve them. I tried to change the parentId but it doesn't help at all. Does anybody know how to solve this ? Is the bug known ?
  7. Très bien n'hésite pas, j'essaierai de t'aiguiller ensuite
  8. Salut, Pour commnencer tu as besoin d'une base de donnée (SQL=base de donnée sur un serveur/SQLite=base de donnée locale, dans un fichier), pour l'instant on va partir sur du sqlite. Pour ça tu aura besoin de la fonction dbConnect Tu trouveras par ailleurs sur le wiki toute l'aide dont tu as besoin pour créer ta base de donnée Bien, je ne sais pas si tu sais comment fonctionne une base de donnée mais à vrai dire c'est relativement simple. Une base de donnée est composée de tables qui elles-mêmes contiennent des colonnes. Ensuite, on insère des enregistrements (dont d
  9. Gordon_G

    Server protection

    I don't know wich setting allowed that, I wasn't the server owner and it's been a long time since then (it in 2016 or earlier so I don't remember pricesely to be honest ^^' )
  10. Gordon_G

    Server protection

    Cheating - if you mean like giving weapons and so on like on other multiplayer mods, it's almost impossible (or well, i dont know how). The only cheat I've already seen is possible walking through walls by removing their collision on their game's files but you can easily counter it by restricting allowed mods in server.conf Theft - This might be the hardest part but here are some sulutions provided by @Dutchman101 Some others here : Hacking - I guess you might talk about a client injecting stuff in their client-side part. The best way to counter this is by ALWAYS ve
  11. Actually, you can only replace base gta sa's object with MTA Take a look here https://dev.prineside.com/en/gtasa_samp_model_id/ Let's search for example the 18365 object Here it's a gta sa object, so you can replace it without any issue But for the model 19214 (wich you are currently browsing), here is what it gives us : As you can see, it's an SA-MP model ID so you can't replace it on MTA (in fact, this ID just doesnt exist in MTA)
  12. I understand, thanks for your answer
  13. Hi, Isn't the use of OOP better (i mean, faster) to do this kind of position transformation ?
  14. Could you be more specific ? Do you want the user the enter his discord's name ?
×
×
  • Create New...