Jump to content

RP Game Mode Help/Progress topic "RPG Server (ALPHA STAGE)"


Recommended Posts

  • Replies 142
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Ok, resource uploaded :oops:

:arrow: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! :D

How do i learn to use tables?? :)

Posted
:~, the namekicker isn't working :( can someone give me a new one? :D

EDIT: LOL I just found out what webhost mtasa.com is using :D

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... :?

Posted
:~, the namekicker isn't working :( can someone give me a new one? :D

EDIT: LOL I just found out what webhost mtasa.com is using :D

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) 

Posted
:~, the namekicker isn't working :( can someone give me a new one? :D

EDIT: LOL I just found out what webhost mtasa.com is using :D

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 :S 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 xD

Posted

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...

Posted

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> 
  

Posted
Now that you have completed basic training ( :wink: ) 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! :D

  • 3 weeks later...
Posted
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 :wink::D

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.

  • 11 months later...
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...