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

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

Link to comment
:~, 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) 

Link to comment
:~, 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

Link to comment

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

Link to comment
  • 3 weeks later...
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.

Link to comment
  • 11 months later...

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