Scarface Posted September 19, 2008 Share Posted September 19, 2008 http://www.megaupload.com/se/?d=4W289A3QI uploaded it to that because i dno't wanna write 100 lines of descriptions again right now I didn't add any credits at all but i'll do that on the next update. megaupload? are you serious? post it somewhere else, here would be better! Link to comment
Michael_Sund Posted September 21, 2008 Author Share Posted September 21, 2008 Ok, resource uploaded Resource page Sorry for waiting so long Don't expect to see a long list of code, because i haven't been scripting much at all because of lack of ideas Awwwwww Quickly! Learn about tables! Tables are l33t FTW! How do i learn to use tables?? Link to comment
50p Posted September 21, 2008 Share Posted September 21, 2008 Awwwwww Quickly! Learn about tables! Tables are l33t FTW! How do i learn to use tables?? http://www.lua.org/pil/2.5.html Link to comment
Michael_Sund Posted September 21, 2008 Author Share Posted September 21, 2008 Awwwwww Quickly! Learn about tables! Tables are l33t FTW! How do i learn to use tables?? http://www.lua.org/pil/2.5.html Thx Link to comment
Michael_Sund Posted September 21, 2008 Author Share Posted September 21, 2008 Shit, the namekicker isn't working can someone give me a new one? EDIT: LOL I just found out what webhost mtasa.com is using Link to comment
Gamesnert Posted September 21, 2008 Share Posted September 21, 2008 :~, the namekicker isn't working can someone give me a new one? EDIT: LOL I just found out what webhost mtasa.com is using The name kicker IS working, scarface's server is equipped with it, and I always forget to switch to my RP name... -.- And what are you talking about in the edit... Link to comment
Scarface Posted September 21, 2008 Share Posted September 21, 2008 :~, the namekicker isn't working can someone give me a new one? EDIT: LOL I just found out what webhost mtasa.com is using Micheal very simple, ill just give you a hint, cut short! function nameKicker() if not gettok(getClientName(source),2,string.byte("_")) then kickPlayer(source, "Invalid name! name_surname") end end addEventHandler("onPlayerJoin",getRootElement(),nameKicker) Link to comment
Michael_Sund Posted September 21, 2008 Author Share Posted September 21, 2008 :~, the namekicker isn't working can someone give me a new one? EDIT: LOL I just found out what webhost mtasa.com is using Micheal very simple, ill just give you a hint, cut short! function nameKicker() if not gettok(getClientName(source),2,string.byte("_")) then kickPlayer(source, "Invalid name! name_surname") end end addEventHandler("onPlayerJoin",getRootElement(),nameKicker) Ok, i uploaded with the first exmple i didn't even test it firt i was in hurry i'll post an update when i have changed the od to the new Link to comment
Michael_Sund Posted September 21, 2008 Author Share Posted September 21, 2008 Ok, i see an error in the console [12:21:15] WARNING: teams.lua: Access denied @ 'kickPlayer' - Line: 90 How do i solve this? It has to be something with the rights but i don't know where i should add the function in the acl... Link to comment
Ace_Gambit Posted September 21, 2008 Share Posted September 21, 2008 If you are going to use the "reason" argument you must supply the "responsiblePlayer" argument as well. You can't have one without the other. kickPlayer(source, getThisResource(), "Bye, bye now") <group name="Admin"> <acl name="Moderator"/> <acl name="SuperModerator"/> <acl name="Admin"/> <acl name="RPC"/> <object name="resource.michaelsrpg"/> </group> Link to comment
Michael_Sund Posted September 21, 2008 Author Share Posted September 21, 2008 Ok, thx i changed some stuff on the name kicker Now it works Link to comment
Ace_Gambit Posted September 21, 2008 Share Posted September 21, 2008 Now that you have completed basic training ( ) you should be able to move on with some more complex tasks like making cash from properties. Link to comment
Gamesnert Posted September 22, 2008 Share Posted September 22, 2008 Now that you have completed basic training ( ) you should be able to move on with some more complex tasks like making cash from properties. Don't forget that the resource also needs to be more adaptable, saves location, buying cars, ... And how about a new element in RP: Giving everyone nukes, and kicking them for non-RP! Link to comment
Michael_Sund Posted September 22, 2008 Author Share Posted September 22, 2008 Ok, thx I have updated my resource now it's working 100% Link to comment
Brophy Posted October 11, 2008 Share Posted October 11, 2008 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 Me and Talidan are part of the mta qa team yes, but not part of the actual mta team (the devs), and yeah its been in development for ages, because we havent coded anything for a while as more important stuff in rl in the last few months have hindered development, as any development team would know. Link to comment
Michael_Sund Posted October 18, 2008 Author Share Posted October 18, 2008 I just wanna tell you that i haven't been scripting on the server for long because i have taken a pause from playing GTA-MP mods ;D Link to comment
Nich Posted October 18, 2009 Share Posted October 18, 2009 I can't get this to work.. If I start a server, I'm just somwhere above the Mount Chilliad and won't spawn. Please help. Link to comment
CallumD Posted October 18, 2009 Share Posted October 18, 2009 Try adding either: setCameraTarget ( source, source ) or setCameraTarget ( client, client ) 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