Michael_Sund Posted August 30, 2008 Author Share Posted August 30, 2008 And what does the .bak file do? ^^ A mistake i missed to delete the backup file (or what the h*ll it is ) from editplus 3 ^^ Oh, i don't know how much ammo i should give them so i just gave 'em so they have forever Link to comment
Michael_Sund Posted August 31, 2008 Author Share Posted August 31, 2008 The only stuff which is scripted by me right now is the team like cops, army and civilians i got help by Gamesnert, Ace_Gambit, Churchill and many more, if your name isn't here it's because i got bad memory And i'm using others resources too... I got a private map file It's not really good cleaned, if someone would want to make the script better and clean it up make it easier to edit just tell me to attach the file here. But if you're gonna edit it don't delete any of the functions ^^ I would really appreciate some cleaning and fixing And BTW i was going to upload as resource but then it said wrong file format, and when i wanted to try again about 100 lines of description was gone EDIT: I have attached the files. [attachment=0]Michael's_RPG.rar[/attachment] Not bad, but could be better. And what does the .bak file do? ^^ And I'm actually quite scared about cops walking around with Assault Rifles+DEagles And ofcourse a soldier with 9999 Grenades... How heavy! Further more: Nice little script. I would suggest you to work some more on it. For example movable gates for the army? Actually it's way more easier to make gates in SA-MP :(but if i gave someone the coordinates from where it is and where it should be moved could someone fix a gate script for me? i would REEEEAALLY appreciate that!! BTW The server name is right now RPG Server (Alpha Stage) or something Link to comment
Scarface Posted September 1, 2008 Share Posted September 1, 2008 i have tried your server but its getting a time out downloading resources Link to comment
Gamesnert Posted September 1, 2008 Share Posted September 1, 2008 Actually it's way more easier to make gates in SA-MP :(but if i gave someone the coordinates from where it is and where it should be moved could someone fix a gate script for me? i would REEEEAALLY appreciate that!!BTW The server name is right now RPG Server (Alpha Stage) or something Really quite simple mate. You can do moveObject. Just give each gate a variable, make a command for each gate and fill this in. Maybe an "if getPlayerTeam(jfnlsngsg)==army then" or something? Link to comment
Michael_Sund Posted September 1, 2008 Author Share Posted September 1, 2008 Actually it's way more easier to make gates in SA-MP :(but if i gave someone the coordinates from where it is and where it should be moved could someone fix a gate script for me? i would REEEEAALLY appreciate that!!BTW The server name is right now RPG Server (Alpha Stage) or something Really quite simple mate. You can do moveObject. Just give each gate a variable, make a command for each gate and fill this in. Maybe an "if getPlayerTeam(jfnlsngsg)==army then" or something? But when i watched other ppl get help with this it looked hard as hell to do, i tried a time ago but didn't work :( Link to comment
Gamesnert Posted September 1, 2008 Share Posted September 1, 2008 Actually it's way more easier to make gates in SA-MP :(but if i gave someone the coordinates from where it is and where it should be moved could someone fix a gate script for me? i would REEEEAALLY appreciate that!!BTW The server name is right now RPG Server (Alpha Stage) or something Really quite simple mate. You can do moveObject. Just give each gate a variable, make a command for each gate and fill this in. Maybe an "if getPlayerTeam(jfnlsngsg)==army then" or something? But when i watched other ppl get help with this it looked hard as hell to do, i tried a time ago but didn't work :( Well, show us your attempt. Then we can help you. I think I know the most difficult topic you found, with sin, cos and rad? That was to calculate for strange rotZ's where it would end. So that means: It doesn't have to be so hard. If you want it advanced, it can be a bit hard. But if you just want to move gates from pos 1 to pos 2? Piece of pie. Link to comment
Michael_Sund Posted September 1, 2008 Author Share Posted September 1, 2008 Well, show us your attempt. Then we can help you. Ok, but i havent really been in mood for scripting for a while Link to comment
Michael_Sund Posted September 1, 2008 Author Share Posted September 1, 2008 i have tried your server but its getting a time out downloading resources wait gotta check this Link to comment
Gamesnert Posted September 1, 2008 Share Posted September 1, 2008 i have tried your server but its getting a time out downloading resources Oh, I didn't see this. What exactly do you mean? That it takes long to download the resources? That's quite strange, since there is NOTHING client-side, and thus doesn't download anything at all... =/ Link to comment
Scarface Posted September 2, 2008 Share Posted September 2, 2008 nvm it worked an hour after Link to comment
Scarface Posted September 2, 2008 Share Posted September 2, 2008 we need an auto kick if the name will be just a nik. we need name_surname Link to comment
Gamesnert Posted September 2, 2008 Share Posted September 2, 2008 we need an auto kick if the name will be just a nik. we need name_surname Hmmm... Might gettok help? Maybe something like... function nameKicker() if not gettok(getClientName(source),2,string.byte("_")) then kickPlayer(source,"You MUST have something like John_Doe!") --Didn't know anything better end end addEventHandler("onPlayerJoin",getRootElement(),nameKicker) EDIT: Let's not forget string.byte I guess Link to comment
Scarface Posted September 2, 2008 Share Posted September 2, 2008 Let's not forget string.byte I guess what do you mean? Link to comment
Gamesnert Posted September 2, 2008 Share Posted September 2, 2008 Let's not forget string.byte I guess what do you mean? Forgot that in the script. Fixed ^^ Link to comment
Scarface Posted September 2, 2008 Share Posted September 2, 2008 Let's not forget string.byte I guess what do you mean? Forgot that in the script. Fixed ^^ , i would like to ask a question, if i do onplayerjoin it will do it every time, so is there onplayerregister? Link to comment
Gamesnert Posted September 2, 2008 Share Posted September 2, 2008 , i would like to ask a question, if i do onplayerjoin it will do it every time, so is there onplayerregister? If you can see it here: http://development.mtasa.com/index.php? ... ing_Events It exists, if you don't, it doesn't exist. Link to comment
Scarface Posted September 2, 2008 Share Posted September 2, 2008 , i would like to ask a question, if i do onplayerjoin it will do it every time, so is there onplayerregister? If you can see it here: http://development.mtasa.com/index.php? ... ing_Events It exists, if you don't, it doesn't exist. ok ill check it out Are we able to make property's buyable and that after every time you connect youll spawn in your house in dp2? cause i heard that we have to wait until dp3? And do we have to script something to get ped animations or do we have to wait for dp3? Link to comment
50p Posted September 3, 2008 Share Posted September 3, 2008 You have to wait untill dp3 for peds an animations, but you can script a buy/sell house script in dp2. Link to comment
Scarface Posted September 3, 2008 Share Posted September 3, 2008 , but you can script a buy/sell house script in dp2. Hmmm....... is it hard? Link to comment
Gamesnert Posted September 3, 2008 Share Posted September 3, 2008 , but you can script a buy/sell house script in dp2. Hmmm....... is it hard? Can be, doesn't have to be. Depends on your ways of scripting. It's just how you imagine your script in front of you, how difficult it'll be. Know that with mathematics? You calculate something a hard way, while someone else just calculates something almost immediately? Depends on your way of calculating. Same here. But to be honest: Yes, you need to know a thing or two about scripting. But you can think a while to think how you're going to do it. Do it as far as your knowledge goes, use the wiki and the forums for the rest. (NOTE: Wiki first! ) Link to comment
churchill Posted September 3, 2008 Share Posted September 3, 2008 Kapil's KIHC resource might help with setting up house buying. Worth a look, seems like a few people have used it, but I've not tried it myself. Link to comment
Gamesnert Posted September 3, 2008 Share Posted September 3, 2008 Kapil's KIHC resource might help with setting up house buying. Worth a look, seems like a few people have used it, but I've not tried it myself. That was Kapil Instant House Construction, right? That seemed good! But, just like you, I didn't test it. Link to comment
Scarface Posted September 3, 2008 Share Posted September 3, 2008 , but you can script a buy/sell house script in dp2. Hmmm....... is it hard? Can be, doesn't have to be. Depends on your ways of scripting. It's just how you imagine your script in front of you, how difficult it'll be. Know that with mathematics? You calculate something a hard way, while someone else just calculates something almost immediately? Depends on your way of calculating. Same here. But to be honest: Yes, you need to know a thing or two about scripting. But you can think a while to think how you're going to do it. Do it as far as your knowledge goes, use the wiki and the forums for the rest. (NOTE: Wiki first! ) Dosent seem hard? saes have two of the mta team scripting for saes and they still havent finished it yet and they have been working for ages, hmm maybe the script will drop from the sky, its nice to dream Link to comment
Michael_Sund Posted September 4, 2008 Author Share Posted September 4, 2008 OL bacon ontopic plz ehm you have any ideas for MY server? ui have much stuff to put in it but i don't know anything easy Link to comment
Michael_Sund Posted September 4, 2008 Author Share Posted September 4, 2008 Ok, i tried to make a Server Security notice script, i didn't work too well... this is the code: function admAd (player, commandName, admtext ) outputChatBox ( "Server Security:" .. admtext .. ".", getRootElement(), 255, 0, 0, true ) end addCommandHandler("/adminad", admAd ) Plz help to fix this, it would help me A LOT on my scripting knowledge!! 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