Jump to content

bandi94

Members
  • Posts

    1,037
  • Joined

  • Last visited

Everything posted by bandi94

  1. for detect you can use getPedTask to be x2 faster maybe whit setGameSpeed or setElementVelocity
  2. bandi94

    GUI Themes

    its possible to replace the GUI Theme whit a custom one for all player's on the server ? thx
  3. Solidsnake14's script check if you write a number so you can only write number's
  4. bandi94

    Accounts

    getAccountData() setAccountData()
  5. check what that person write in the editbox and if is not a number 0-9 then cancel it
  6. bandi94

    mIRC

    i wanna learn the mIRC scripting and using whit MTA server where can i find some tutorial's ? for mIRC whit MTA bk on youtube i don't fin'd thx
  7. what is that (string) there? local newZ = getElementData ( attacker, "Zombie kills" ) outputChatBox( "Total Zombies killed: " .. newZ)
  8. you can use AccountData to for your Login/more script and its easy to store and get data from account
  9. bandi94

    Cursor

    TAPL: if you have the cursor showing from a resource you can hide it from another resource ...
  10. your problem is the txd i don't know for what objects is that txd but i am 100% shure that is not a ped txd how to find a ped txd : go to your GTA:SA folder/data and there you search for peds.ide open whit notepad press ctrl+f (search) and you write your ped id in your case is 105 and you will se this line : 105, FAM1, FAM1, GANG2, STAT_GANG2, gang2, 110F,1, null,5,5,PED_TYPE_GANG,VOICE_GNG_FAM1 ,VOICE_GNG_FAM2 and the third is your ped txd name : "FAM1" now you open img tool in search write "FAM1" and you find your ped txd
  11. bandi94

    Data

    https://wiki.multitheftauto.com/wiki/DxDrawText
  12. try only whit this i think is your txd file wrong or the server have bug tudday i maked a custom ped not only TXD i maked a DFF to for a halloween pach and its working whitout problem's skin = engineLoadTXD ( "skins/22.txd" ) engineImportTXD ( skin, 22 )
  13. and what error you got ? post the error (is a long script ..)
  14. bandi94

    Cursor

    this is client side if you put client side and not working use /debugscript 3 and post what error you got
  15. how can i extract a ped dff and txd ( i think it's possible to replace a ped dff) i don't find the ped txd and dff how are named the skins and where are they are in gta3.img ? thx EDIT: i find it
  16. try to change your skin and after back to skin 22 or use /debugsript3 and find the error
  17. i think is a MTA custom object bug lag .... i solved the problem whit an another 3D pumkin (+ is more beautiful ) and whit engineSetModelLODDistance now the fps decreases 4-5 fps so from fps\2 to 4-5... in the future i think it will need a litel bit changes on dff and 3D custom object's to reduce the custom object lag
  18. if the engine is stil on change the timer to a bigger number function turnEngine(player) local car = getPedOccupiedVehicle(player) if(car and getVehicleController(car) == player) then setVehicleEngineState(car,(not getVehicleEngineState(car))) if(getVehicleEngineState(car)) then outputChatBox("Engine: Your engine has been turned on.", player, 0, 255, 0) else outputChatBox("Engine: Your engine has been turned off.", player, 255, 0, 0) end end end addCommandHandler ("engine",turnEngine) function enterVehicle ( theVehicle, seat, jacked ) setTimer(setVehicleEngineState,500,1, theVehicle,false) -- here cheange end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), enterVehicle )
  19. i am making a halloween pach for my server that inlcude a halloween map now i make a map so on so good i maked whit googel sketchup Pro a halloween pumkin i exported --> .3ds inported whit 3d's max (whit the dff script for 3d's max)-->dff io --> i selected skip .col ---> export dff and done (in googel sketchup i colored the layer's so if i open the dff in MTA the object it's colored so i don't import txd) i searched an object in MTA i maked the ReplaceModel script i sarted it and the custom pumkin loaded now when i put 1-2 pumkin not to close all good if i put 1 pumkin object on every 3 vgncrashade its lag the fps drops to half (and lag ) can i fix it ? or is an MTA custom object bug ? (i think don't matter what object i replace whit my custom object or if i import txd or not or i import .col or not (or to put the col in dff)) thx for helping
  20. ok finaly i make the 3D's max to work i think it was a bad version or ... now i completed the .dff my problem is : 1 - on a dff viwer (on my object i have holes) and if i watch true the hole i see the backbaround now i don't know in mta it will be transparent the object interior i mean if a watch in the holl it will be transparent the object inside ? if yes how can i fix it ? 2- my object in .dff is colored (i use sketchup and i colored it ) now how can i get the pohot ,image for TXD ?
  21. i read about that arrror and is something whit Nvidia Geforce series thing it not suported by Autodesc or something similar
  22. like i say 3D Max its not working on my cumputer i get 0xc00000005 error on starting ..
  23. ok i am a beginer in 3D modeling whit MTA (i used 3D programs befor but just for fun) i don't know why but max 3D its not working on my computer so i use googel sketchUP Pro now i have a good 3D object saved as spk(sketchUp format) now how can i conver-t that 3D model to DFF and TXD ? thx for help
  24. i make this but its not working if (string.find(name,"%|")) then local name = string.gsub(name,"%|","") end thx for helping
×
×
  • Create New...