Jump to content

Prieto_Galletini

Members
  • Posts

    50
  • Joined

  • Last visited

Everything posted by Prieto_Galletini

  1. thanks again so for peds its only txd, too bad but too good for now, i remember when i started playing samp i though i was the best thing ever since a came across MTA damm i was like all my dreams came true hahaha
  2. si its basically the same thing right? sorry fir asking too much and this is my skin change ped but it does not work for now so please take a look, if you see some error's let me know thanks in advance function ReplaceSkin ( ) tiptx = engineLoadTXD ( "skins/bmybar.txd" ) engineImportTXD ( tiptx, 176 ) tipdf = engineLoadDFF ( "skins/bmybar.dff", 176 ) engineReplaceModel ( tipdf, 176 ) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), ReplaceSkin ) and another thing i know this is a dumb question does the word that goes always after function does it have to be something specific or it can be any word i want?
  3. thank you both this is what was missing and thank you 50p for teaching me how to output if worked or not thanks again both. I'm really liking this community a lot. so you guys can play on my Role play GM like in one year when it's finished hahaha another question does this works for player skins too?
  4. function ReplaceVehicle ( ) outputChatBox ( "cargando skyline" ) -- skyline(elegy) elgtx = engineLoadTXD ( "files/elegy.txd" ) engineImportTXD ( elgtx, 562 ) elgdf = engineLoadDFF ( "files/elegy.dff", 562 ) engineReplaceModel ( elgdf, 562 ) outputChatBox ( "ya se ha cargado el skyline" ) outputChatBox ( "cargando viper" ) -- viper(banshee) vprtx = engineLoadTXD ( "files/banshee.txd" ) engineImportTXD ( vprtx, 429 ) vprdf = engineLoadDFF ( "files/banshee.dff" ) engineReplaceModel ( vprdf, 429 ) outputChatBox ( "se ha cargado el viper" ) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), ReplaceVehicle ) i made it how you said and still the viper ain't showing look heres meta.xml in case the problem is in there <?xml version="1.0" encoding="utf-8"?>> author="Prieto" type="script" name="models" /> ="models.lua" type="client" /> ="srv_models.lua" /> src="files/elegy.dff" /> src="files/elegy.txd" /> src="files/banshee.txd" /> src="files/banshee.dff" />> Thanks in advance.
  5. ok so my code worked fine so i tried to add another custom car to try it out without looking at the wiki. the first one was using the wiki heres the code, to see if you guys see something wrong in here, it loads without errors and it loads the elegy new dff and txd but the banshee's do not load function ReplaceVehicle ( ) -- skyline(elegy) elgtx = engineLoadTXD ( "files/elegy.txd" ) engineImportTXD ( elgtx, 562 ) elgdf = engineLoadDFF ( "files/elegy.dff", 562 ) engineReplaceModel ( elgdf, 562 ) -- viper(banshee) vprtx = engineLoadTXD ( "files/banshee.txd" ) engineImportTXD ( vprtx, 429 ) vprdf = engineLoadDFF ( "files/banshee.dff" ) engineReplaceModel ( vprdf, 429 ) end addEventHandler ( "onClientResourceStart", getRootElement(), ReplaceVehicle )
  6. sorry for posting on this old thread but to make things clear, only nightly's support joystick and in nightly there's no auto targeting trust me i use joystick and is not easy to target without auto targeting.
  7. Wow, very nice I'm working on a new version which updates everything for you in one executable. If you could make the install file for that and host it, I could add you to the credits fully yeah why not, sure no problem. just let me know and ill do it
  8. men thanks a lot you're a life saver. i really appreciate it
  9. is there a /save command like samp that when you type in this it gives your exact coordinates??
  10. heres a little help a .exe installer for both the nightly installer and the resource installer both in one i added myself in the credits just as the installer maker nothing more cause i really just did the installer and its on my host so no rapid-s h i t haha heres the link http://gta-r.com/archives/MTA%20NU%20&%20RU.exe
  11. so so for the time of the day could u give me a example but not to complete so i just don't copy and paste it, so i can learn from it. Thanks in advance and the thing of what i want to to change the kph for the mph is that the other pic is MPH on top then kph and if i use it this way the speedometer just throws out wrong mph.
  12. im going to change the pic for this resource https://community.multitheftauto.com/index.html?q ... 265&vote=5 for one that only mph how can i change the kph for the mph, and its posibke to use different pics for different cars or time of day? thanks in advance.
  13. You're telling him to do pretty much the opposite of what he SHOULD do. If you get admin from the resources SVN, the "true" is already there. That's the problem! <main> <welcome /> </main> This way it should work. When you've edited the settings.xml file, it should add all the rights the admin panel needs to function properly to the ACL, and re-add "true". (because it's installed in the ACL) So don't be surprised if you look back sometime and it's there again. ok this does not work for me and all i did was use the acl from dp2 and it worked then i entered the server again and it was like not working again, a can login and open it and see every info on it put i cannot click anywhere so a cant change weather or give cars.
  14. That should be... Oh and 1.0 isn't out yet. Only the beta (nightly) builds. But as these are solely meant for testing, not that many players use em. lol thanks a lot i didn't saw that haha thanks a lot.
  15. ok so this is not bout the problem its already solve but im really interested on seeing this GM running. give ip if u have one and if possible.
  16. thanks men i was really needing this cause im bad at typing once again thanks, and in the forums i can write better because firefox haha , thanks again man
  17. 1 question why do you need a admin base on a RPG server??????, in Real Life your not admin, sooo remember the only place for the admin is to keep the server clean not to hide on a base lol
  18. i have some problem like this one i can log in and see the panel but a cant use it , im using nightly build r1241 so if anyone knows how to fix plz let me know.
  19. so i'm trying to understand is 1.0 out yet?? and by the way can u help me out with this i'm trying o make an static picture on the screen so this is the code can u tell me what is wrong this is the photo gui, just one photo i made it with guieditor function showClientImage() guiCreateStaticImage(839,593,184,173,"gtar.png",false) end addEventHandler("onClientReosurceStart", getResourceRootElement(getThisResource()), showClientImage) and this is the meta.xml "Prieto Galletini" type="gamemode" name="GTAR" description="my first try" /> could you see whats wrong? and by the way the "admin" resource does not work anymore now that i use the nightly build i can open it but it does not let me choose any option, if you know how to fix this plz let me know. Edit: other thing now i can't enter the site if i don't use Proxy do you guys know a fix for this
  20. so if i want peds i have to use nightly? and if that's the case whats the difference. thanks in advance
  21. ok i maybe lost this part addEventHandler("onClientGUIClick", btnLogin, clientSubmitLogin, false) but i really don't know where to put it, it says "right AFTER CreateLoginWindow() is called: " so it should go here? addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () CreateLoginWindow() addEventHandler("onClientGUIClick", btnLogin, clientSubmitLogin, false) --here??? outputChatBox("Welcome to My MTA DM Server, please log in. ") if (wdwLogin ~= nil) then guiSetVisible(wdwLogin, true) end showCursor(true) guiSetInputEnabled(true) end ) and know im getting the error about line 15(im my server is 15 on the post is 16) so if you see up there on the other posts it gave an error on the line 16 in the script.lua i would be really appreciated if you guys can tell me whats wrong. thanks in advance Edit: i found it out thanks anyways.
  22. ok so no one its going to make so can i ask for some help i decided to learn, I'm starting with the wiki but i tried the login window in the wiki and it didn't work so if anyone could take a look at the code and let me know whats wrong in it. --script.lua function joinHandler(username, password) local x,y,z x = 1959.55 y = -1714.46 z = 10 if (client) then spawnPlayer(client, x, y, z) fadeCamera(client, true) outputChatBox("Welcome to My Server", client) end end addEvent("SubmitLogin", true) addEventHandler("SubmitLogin", getRootElement(), joinHandler) --this is the login window function CreateLoginWindow() local X = 0.375 local Y = 0.375 local Width = 0.25 local Height = 0.25 wdwlogin = guiCreateWindow(X, Y, Width, Height, "Por favor iniciar sesion", true) X = 0.0825 Y = 0.2 Widht = 0.25 Height = 0.25 guiCreateLabel(X, Y, Width, Height, "Nombre de Usuario", true, wdwlogin) Y = 0.5 guiCreatelabel(X, Y, Width, Height, "Contraseña", true, wdwlogin) X = 0.415 Y = 0.2 Widht = 0.5 Height = 0.15 edtUser = guiCreateEdit(X, Y, Width, Height, "", true, wdwlogin) Y = 0.5 edtpass = guiCreateEdit(X, Y, Width, Height, "", true, wdwlogin) guiEditSetMaxLength(edtuser, 50) guiEditSetMaxLength(edtpass, 50) X = 0.0415 Y = 0.7 Width = 0.25 Height = 0.2 btnlogin = guiCreateButton(X, Y, Width, Height, "Logear", true, wdwlogin) guiSetVisible(wdwlogin, false) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () CreateLogInWindow() outputChatBox("Bienvenido a Empire Server MTA, por favor logearse.") if (wdwlogin ~= nil) then guiSetVisible(wdwlogin, true) end showcursor(true) guiSetInputEnable(true) end ) function clientSubmitLoginButton(button) if button == "left" then triggerServerEvent("SubmitLogin", getRootElement(), guiGetText(edtuser), guiGetText(edtpass)) guiSetInputEnable(false) guiSetVisible(wdwlogin, false) showCursor(false) end end --meta.xml "Prieto Galletini" type="gamemode" name="Empire" description="my first try" /> and plz let me know it theres a good editor besides notepad++ and luaedit thanks in advance.
  23. Ok i need a full GM like the godfather for samp or something better, but with my ideas in it that's going to make it better, and bout the money a don't know maybe 5 bucks those that cover it, nah joking the money depends on your work, if your really interested get at me: [email protected] and it would be better if the scripter knows a little bit of Pawno to have a look at my samp's GM and make something like it.
  24. Hey people im new to MTA but i like the potential it has, im looking for a good scripter to make a role play server with my ideas, MTA has everything i wished for on GTA SA, so i would like a good scripter to answer on this topic to talk and put some points in the air. And like it says on the topic name I WILL PAY And please don't say: "why dont you learn" answer: i dont want to learn im busy with other things. Thanks in advance. Prieto Galletini
×
×
  • Create New...