Jump to content

12p

Members
  • Posts

    2,608
  • Joined

  • Last visited

Everything posted by 12p

  1. Like in most of your resources (löl) ... You should use Relative mode for the GUI...
  2. Well, the main thing I need to end this project is to map more hard things. You should analize my "iwbtg_map", create more levels, see the scripts I made, or something kinda that That would help me a lot ^^
  3. Good, man. It's the best resource ever made for RP and RPG servers ^^
  4. 12p

    Multi Objects

    yeah... I'm according to this idea... Hope it will be made on next MTA... So we will be happier ^^... PS: I've copied MI550 writing style D:!
  5. Sorry all. I'm actually working on other things, so I just left this project (maybe I will continue it later). Anyway, I will give all you my actual resource: IWBTG Gamemode IWBTG Map Hope you like my non-ended gamemode ^^
  6. Bad english... I think you want to change the textures and make a text appears.
  7. maybe you can use setObjectRotation and getPedRotation, it may solve your orientation problem
  8. 12p

    "EXP"

    I have made this in my ZA resource. That was easy ^^
  9. 12p

    "EXP"

    Nobody will give you such resource. You must script it by yourself, or pay $$$ to somebody that do that.
  10. I think nobody will help. You should start to create DM and DD maps, show them to community in "Showroom" forum, and maybe, ask to people that like your maps, to help at your server.
  11. addEvent("addShotFx",true) addEventHandler("addShotFx",getRootElement(), function(obj, vehicle,xoff,yoff,zoff) if vehicle then --if a vehicle was hit, create an explosion at the local coordinates local matrix = getElementMatrix(vehicle) local x1 = xoff * matrix[1][1] + yoff * matrix[2][1]+zoff * matrix[3][1]+matrix[4][1] local y1 = xoff * matrix[1][2] + yoff * matrix[2][2]+zoff * matrix[3][2]+matrix[4][2] local z1 = xoff * matrix[1][3] + yoff * matrix[2][3]+zoff * matrix[3][3]+matrix[4][3] createExplosion(x1,y1,z1,getElementData(obj,"explMgExplosion")) end local x,y,z = getElementPosition(obj) local matrix = getElementMatrix (obj) local ex = matrix[2][1] local ey = matrix[2][2] local ez = matrix[2][3] fxAddGunshot(x,y,z,ex,ey,ez) local sound = playSound3D("sounds/shot.wav",x,y,z) setSoundMaxDistance ( sound, 10 ) setSoundVolume ( sound, 1 ) end) And you should use MP3 sound, not WAV. WAV uses too much MB
  12. I've just saw top times on races, but not such that...
  13. What kind of ranking / top? What is your purpose?
  14. Sorry about this but, I'm learning how to use SQLite3, and I'm doing good But I have this problem: I've used "Top 5 Players" script as example, and I don't know how to carry the SQL values to a GUI... Here is my code (server-side): executeSQLCreateTable ("players","name TEXT, number INTEGER, time_playing INTEGER") local allplayers = getElementsByType ("player") for i,player in ipairs (allplayers) do local name = getPlayerName(player) setElementData (player,"time_playing",0) setTimer ( function (player) local time = getElementData (player,"time_playing") setElementData (player,"time_playing",time+1) if executeSQLInsert ("players","'"..name.."', '1', '"..getElementData(player,"time_playing").."'") then outputDebugString ("SQL Tables updated!") else outputDebugString ("SQL Tables failed to update!",1) end end,1000,0,player) end And my client-side code: GUIEditor_Window = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(0.015,0.3317,0.3363,0.3417,"Top 5 Players",true) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Label[1] = guiCreateLabel(0.0335,0.1073,0.9219,0.1171,"1.",true,GUIEditor_Window[1]) GUIEditor_Label[2] = guiCreateLabel(0.0335,0.2732,0.9219,0.0828,"2.",true,GUIEditor_Window[1]) GUIEditor_Label[3] = guiCreateLabel(0.0335,0.4439,0.9219,0.0828,"3.",true,GUIEditor_Window[1]) GUIEditor_Label[4] = guiCreateLabel(0.0335,0.6195,0.9219,0.0828,"4.",true,GUIEditor_Window[1]) GUIEditor_Label[5] = guiCreateLabel(0.0335,0.7805,0.9219,0.0828,"5.",true,GUIEditor_Window[1]) function updateTopPlayers(player,number,time) end addEvent ("onClientUpdate",true) addEventHandler ("onClientUpdate",getRootElement(),updateTopPlayers) I have custom event to get the players and put them into GUI, but no idea how to carry it with triggerClientEvent...
  15. https://wiki.multitheftauto.com/wiki/GuiSetInputEnabled I think that's the function you want. If you have problems, post it
  16. Looks like we will cancel the project, man. Nobody is interested in this. But we will need a texture maker anyway; we are going to create another gamemode for the server
  17. https://wiki.multitheftauto.com/wiki/MoveObject
  18. No way to offer users to become mods to help the community? Of course trustable users eh. It may cause the easier noob-resources deleting...
  19. 12p

    /time

    LUA Function. Doesn't it work?
  20. Thinkin' on a score system or kinda that maybe top times board (on each level and on full gamemode).
  21. You think we, the scripters, don't have life? Not own projects, scripts, server to script, huh? So easy to request a script, you think it is... We use the BRAIN to work, and you only use your FINGERS to write a request. Script it by yourself. We won't make your script, but we can help you at some stucking parts. Come here and try to do some simples script. And I suggest you to get this to not get sintax errors and ask here for them huh.
  22. Read well. I just said "This is a FREE, PUBLIC gamemode..."
×
×
  • Create New...