• Content count

  • Joined

  • Last visited

Community Reputation

9 Neutral

About Pirulax

  • Rank
    Punk-@ss B*tch

Recent Profile Visitors

380 profile views
  1. Vehicles that paintjob does not work

    You cant, but not all texture names are the same. Try using shader_tex_names . Just click on 'Texture names' on the top of the page. Btw, you should use getLocalPlayer() instead of resourceRoot. For some reason wiki says that resourceRoot is better, but in reality its much worse because of event faking. And why do u recreate the shader every time?
  2. Right Click target ped ID

    Stolen script?
  3. Retrieving data from mysql

    By the way, if you want to use built-in functions, then you should use them like this: dbQuery(function(qh) local poll = dbPoll(qh,0) -- timeout doesnt matter here, because the result will be ready always. for _,v in ipairs(poll) do local charid = v["charid"] print(charid) --< Prints the charid into the debugscript 3, note, this will be printed as many time as #poll is. end print(charid) --< Prints nil, since the variable 'charid' was created in the loop. end,{},con,"SELECT * FROM characters WHERE ownerid=?",ownerid) OR use this when you create an account, and want to retrieve the accountID of it. passwordHash(passwordEnteredByUserGoesHere,"bcrypt",{usr},function(pass,usr) --//** always use some encrypting algorithm. dbQuery(function(qh) local _,_,id = dbPoll(qh,0) -- timeout doesnt matter here, because the result will be ready always. print(id) end,{},con,"INSERT INTO accounts SET usrname=?, pass=?",usr,pass) end I hope you can understand what i wrote here, if not than drop me a pm.
  4. Ped shooting

    So, the code looks something like this: --Server code local ped = createPed(120,0,0,0,90) giveWeapon(ped,30) triggerClientEvent("someCreateiveEventNameHere",root,ped) --Client Code addEvent("someCreateiveEventNameHere",true) addEventHandler("someCreateiveEventNameHere",getLocalPlayer(),function(ped) setPedControlState(ped,"fire",true) end) If not, can you give us a code?
  5. Saving a character system to MySQL

    Very good explanation by @pa3ck here, congrats!Dropped you a like, i was about to explain the same, but then i saw ur comments
  6. failed to call 'fall_log:createLog'

    Yeah, this is when you are tired.....Thanks a lot Very amateur mistake by me. Dropped you a like (Reputation)
  7. failed to call 'fall_log:createLog'

    Did i forgot to mention, that i added them?Yeah, i added them. <function export="addLog" type="server" /> <function export="saveLog" type="server" /> <function export="createLog" type="server" /> I tried to use the function from server.
  8. Okey, so i have made a script, a logging script, it logs litterally everything, and has 3 exported functions, they are used to create log files, but for some reason, when i want to call them from a separate script using call function["exports.*"] it just throws me an error.["failed to call 'fall_log:createLog'"].I can use the functions in the same script["fall_log"], but cant use somewhere else, for example in "fall_admin-system", indicating, that the script in "fall_log" works correctly, so any ideas?Here's my call[every argument is valid, and not not, if it matters.]: exports.fall_log:createLog("This is a test","fall_admin/log.json") I still dont rly want to give out the script for fall_log, but if i really need, then okey.
  9. playSound3D Server bandwidth usage

    Just think about it, why would server stream the music?The the function should be a shared function, not a client-only function.
  10. Disable nitro recharging.

    No.. I have a tuning-system, and i want to disable nitro recharging, so, i dont want infitenitro
  11. Disable nitro recharging.

    Hello, im wondering, is there any function to disable nitro-recharging?I made a nitro script, but it recharges the nitro..
  12. I think the Title says it all. What dxSetRenderTarget() is used for?And could you give me some example other than on the wiki?
  13. dbConnection in use warning?

    No, you misunderstand me, he had a resource called mtd_database, this is where he called dbConnectionm and then, he just exported the getConnection() function,it worked totally fine, but then he got this warning, do you understand me now?
  14. dbConnection in use warning?

    So, friend of mine got this error: Picture He was like: dbConnection was in use, this is why it happened, but i was like: thats impossible, so this is why i ask you guys. btw: This is just a question, and i dont need a script-fix for is, just an answer about it.Thx in advance.