Guest Posted August 30, 2008 Share Posted August 30, 2008 Hello people, i'm bram and i'm new here. I set up a 24/7 server and I wanted to have some things. But, since i'm not quite familiar with LUA, i'd need a scripter for this, who may be fulltime admin. these things came into my mind:- ---------------------------------------- 1) a safezone with freeroam in Las Venturas. 2) a dmzone in san fierro 3) weaponspawns and healthspawns, as well as well hidden good weapons (minigun for example under some obstacle 4) a rules window which you need to accept, and a window to register/login + choose what you want to do (DM/Freeroam) 5) different spawn locations all over san fierro 6) a golden pot, hidden in a lot of places in whole san andreas.. if you think you can help us with one of those things, well very good then. Contact us by replying. if you think you can help us with all these things, and you want to be admin, absolutely don't forget to post a reply Already big thanks, Bram Link to comment
Michael_Sund Posted August 30, 2008 Share Posted August 30, 2008 I cann help you with a little stuff, but i'm a beginner in lua too, but i have learned more about it thanks too Gamesnert and Ace_Gambit, ask them about help they're great ^^ Link to comment
Guest Posted August 30, 2008 Share Posted August 30, 2008 Ok. I contacted them. they're offline oh well, they're dutch, just like me so it's easier for me if they want to help.. Link to comment
Michael_Sund Posted August 30, 2008 Share Posted August 30, 2008 I got 3 questions. 1. ok what sort of server will this be? 2. Can i be admin? 3. What's the ip/name of the server? Link to comment
Guest Posted August 30, 2008 Share Posted August 30, 2008 1) a combined DM/Freeroam server 2) if you work for it^^ 3) 82.192.88.38 : 6666 Link to comment
Gamesnert Posted August 30, 2008 Share Posted August 30, 2008 (edited) Hello people,i'm bram and i'm new here. I set up a 24/7 server and I wanted to have some things. But, since i'm not quite familiar with LUA, i'd need a scripter for this, who may be fulltime admin. these things came into my mind:- ---------------------------------------- 1) a safezone with freeroam in Las Venturas. 2) a dmzone in san fierro 3) weaponspawns and healthspawns, as well as well hidden good weapons (minigun for example under some obstacle 4) a rules window which you need to accept, and a window to register/login + choose what you want to do (DM/Freeroam) 5) different spawn locations all over san fierro 6) a golden pot, hidden in a lot of places in whole san andreas.. if you think you can help us with one of those things, well very good then. Contact us by replying. if you think you can help us with all these things, and you want to be admin, absolutely don't forget to post a reply Already big thanks, Bram Ok let's see... 1. A safezone: I persume that you are safe from other players guns etc? I don't think that is that hard. I link you through to THIS PAGE in the wiki for some more commands if you want it a bit more advanced if you want. So, I'll give a little code: --NOTE: This is the edited script, but the coordinates should still be in the CENTER! Don't think the coordinates are the ones of the upper left corner! radarX,radarY=1857,1598 --The position of the radarzone. Note that this is the center (middle) of the radarzone! XSize,YSize=925,925 --How big the radarzone should be R,G,B,A=255,20,196,115 --This is colorcode, the amount of red(R), green(G) and the amount of blue(B) you want your color to have. Alpha(A) indicates how solid it is. The higher the alpha value, the harder it is to see through the radarzone function createRadarSafezoneIndication() radarArea=createRadarArea(radarX-XSize/2,radarY+YSize/2,XSize,YSize,R,G,B,A) end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),createRadarSafezoneIndication) function noDamageInRadarZone() local x,y,z=getElementPosition(getLocalPlayer()) if x<radarX+XSize/2 and x>radarX-XSize/2 and y<radarY+YSize/2 and y>radarY-YSize/2 then cancelEvent() -- outputChatBox("BlahBlah") -- else -- outputChatBox(x .. ", " .. radarX+XSize/2 .. ", " .. radarX-XSize/2 .. ", " .. y .. ", " .. radarY+YSize/2 .. ", " .. radarY-YSize/2 ) end end addEventHandler("onClientPlayerDamage",getLocalPlayer(),noDamageInRadarZone) Note: This is a client-side script! Not server side! Put this in a file (for example safezone.lua) and then add this to your resource's meta.xml: <script src="safezone.lua" type="client"/> Note: Edit src parameter if your file has another name than the example name. 2. DM zone: Practically the same, but with some minor modifications. I'll leave this one for later. 3. Weapon/pickup spawns: I redirect you... http://development.mtasa.com/index.php? ... ent/Pickup 4. GUI: I redirect you again, practically all you need to know. Except for some parts. http://development.mtasa.com/index.php? ... ng_the_GUI 5. Multiple spawn locations: Simple multi-location spawnscript: spawnPositions={{0,0,3},{2500,0,20},{0,2500,30}} function spawnJoiningPlayer() local spawnNumber=math.random(1,#spawnPositions) spawnPlayer(source,spawnPositions[spawnNumber][1],spawnPositions[spawnNumber][2],spawnPositions[spawnNumber][3]) end addEventHandler("onPlayerJoin",getRootElement(),spawnJoiningPlayer) 6. Golden pot: Don't know exactly what you mean. But if you mean a golden pot at different locations every once in a while, then I think I know how to. But I leave this one to you. Edited August 30, 2008 by Guest Link to comment
Michael_Sund Posted August 30, 2008 Share Posted August 30, 2008 1) a combined DM/Freeroam server2) if you work for it^^ 3) 82.192.88.38 : 6666 1. ok 2. yeah sure i'll do, can u send you're msn or something in a pm plz, so we can have contact in that way too? 3. thx man i'll add it ^^ Link to comment
robhol Posted August 30, 2008 Share Posted August 30, 2008 On pt 2, 3, 4, 5, 6: Good to hear my server's so inspiring. I bet Simbad feels the same about pt 1 Link to comment
Gamesnert Posted August 30, 2008 Share Posted August 30, 2008 On pt 2, 3, 4, 5, 6: Good to hear my server's so inspiring. I bet Simbad feels the same about pt 1 AND point 6 I think. Link to comment
robhol Posted August 30, 2008 Share Posted August 30, 2008 On pt 2, 3, 4, 5, 6: Good to hear my server's so inspiring. I bet Simbad feels the same about pt 1 AND point 6 I think. Yeah, forgot that one. Still, Bram, if you want to start a server, you should either have your own ideas or be able to make them better... you fail at both seeing as all these ideas are found in my server, simbad's, or both.. and since you actually had to ask for the scripts, you kinda fail at that too... Link to comment
Gamesnert Posted August 30, 2008 Share Posted August 30, 2008 On pt 2, 3, 4, 5, 6: Good to hear my server's so inspiring. I bet Simbad feels the same about pt 1 AND point 6 I think. Yeah, forgot that one. Still, Bram, if you want to start a server, you should either have your own ideas or be able to make them better... you fail at both seeing as all these ideas are found in my server, simbad's, or both.. and since you actually had to ask for the scripts, you kinda fail at that too... Who says his idea's aren't in? Although he should modify them, I think he will. Otherwise he's not really busy in a smart way, but do remember: (I think) We did not have to sign anything like: "I promise that I, [name], won't copy anything from other servers!" So it IS (probably) allowed. But not nice, and not the smartest thing to do. Link to comment
robhol Posted August 30, 2008 Share Posted August 30, 2008 If he wants to copy my ideas that's allright by me - it probably won't work though, seeing as my server's already more established, Simbad's even more so, and a new server doesn't attract people unless it's either original, or better than other servers. Link to comment
Gamesnert Posted August 30, 2008 Share Posted August 30, 2008 If he wants to copy my ideas that's allright by me - it probably won't work though, seeing as my server's already more established, Simbad's even more so, and a new server doesn't attract people unless it's either original, or better than other servers. Only thing he needs to do is to add some new even better exclusive content and he's better. Link to comment
Guest Posted August 30, 2008 Share Posted August 30, 2008 Dude, robhol, i want a combined server not "DM only" in sanfierro.. the golden pot is on many many servers the rules window like.. almost all servers? so i don't get the "stealing" idea.. anyhow... *wew, this is an active forum* Link to comment
Gamesnert Posted August 30, 2008 Share Posted August 30, 2008 Dude, robhol, i want a combined server not "DM only" in sanfierro..the golden pot is on many many servers the rules window like.. almost all servers? so i don't get the "stealing" idea.. anyhow... *wew, this is an active forum* Only today it's an active forum. Normally it's quite quiet. =/ Link to comment
Guest Posted August 30, 2008 Share Posted August 30, 2008 aha i'm the lucky bitch again. but i'm off now. back tomorrow 12h00 CET cya dudes Link to comment
Gamesnert Posted August 30, 2008 Share Posted August 30, 2008 aha i'm the lucky bitch again. but i'm off now. back tomorrow 12h00 CET cya dudes That'd be... 9 o'clock here? In GMT+1? Anyway, am fixing the script. The new one should be there in a small moment. Link to comment
Guest Posted August 31, 2008 Share Posted August 31, 2008 aha i'm the lucky bitch again. but i'm off now. back tomorrow 12h00 CET cya dudes That'd be... 9 o'clock here? In GMT+1? Anyway, am fixing the script. The new one should be there in a small moment. the updated version doesn't work either Link to comment
Michael_Sund Posted August 31, 2008 Share Posted August 31, 2008 can i have your msn? I have to go but i'll ad you later if i get your msn Link to comment
[UVA]Bart Posted August 31, 2008 Share Posted August 31, 2008 4) a rules window which you need to accept, and a window to register/login + choose what you want to do (DM/Freeroam) thats a pain in the ass to make, altho i have not made freeroam i made 3 things just never released it lol need to do a bit more work on it lol Link to comment
Gamesnert Posted August 31, 2008 Share Posted August 31, 2008 aha i'm the lucky bitch again. but i'm off now. back tomorrow 12h00 CET cya dudes That'd be... 9 o'clock here? In GMT+1? Anyway, am fixing the script. The new one should be there in a small moment. the updated version doesn't work either In what way doesn't the second version work? =/ Link to comment
Guest Posted August 31, 2008 Share Posted August 31, 2008 as in "doesn't do anything :S" the function doesn't get called. can the problem be the gamemode or smthing? Link to comment
Gamesnert Posted August 31, 2008 Share Posted August 31, 2008 as in "doesn't do anything :S"the function doesn't get called. can the problem be the gamemode or smthing? Well, it does work for me... I don't understand how the function can't be called, since it works fine for me. Even if I would replace my piece with the one I posted, it would be exactly the same... =/ Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now