[GameMode] Basic Roleplay 2 [UPDATED | Admin Commands added]
#1

Hello and thanks for visiting the thread.

This is my second gamemode release and in difference of the first one I've made some changes. Except the old saving system I've added:

1- Location system: The location will be saved and will appear in a dialog as you're trying to register. You will also be able to check your location into the /stats command.
2- Skin system: This will probably save your skin and will spawn you with the gender you choose skin. What I mean is: If you will choose male, you will spawn with a male skin chosen by me, but you can change it, same for the female skin. SKIN WILL ALSO BE SAVED WHEN YOU EXIT, IF YOU CHANGE SKIN WHILE PLAYING, IT WILL BE SAVED.
3- Roleplay commands: I've added the 2 important commands now for roleplay gamemode, which are /me and probably /do.
4- Non roleplay name system: The roleplay name system wont allow you to keep whatever name you may want to use, but it will kick you when you try to use other name that doesen't have underline or does have numbers in it.
5- Admin commands allowed to edit things into player database like location, camere etc. (/acmd)

Screenshots








Difference

In difference of the old script, I've added some commands in here. ONLY ADMIN COMMANDS.

Commands
pawn Код:
COMMAND:acmds(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_PINK,"Error: You have to be admin or you are not high level enoguh in order to use this command!");
    SendClientMessage(playerid, COLOR_PINK, "Level 1: /kick - /armour - /health - /camera");
    SendClientMessage(playerid, COLOR_PINK, "Level 1: /freeze - /unfreeze");
    SendClientMessage(playerid, COLOR_PINK, "Level 2: /get - /goto");
    SendClientMessage(playerid, COLOR_PINK, "Level 3: /givegun");
    SendClientMessage(playerid, COLOR_PINK, "Level 4: /resetguns");
    SendClientMessage(playerid, COLOR_PINK, "Level 5: /setlevel");
    return 1;
}
Making your self admin

To make your self admin you must NOT be logged in the game.

1. Open your scriptfiles folder.
2. Inside the scriptfiles folder you will find a folder named 'User'.
3. Open it and search for your name (After you have been registered in-game)
4. Search for the line 'Admin' and then set the number '0' to '5' ( Without quotes )
5. Close the file, save and enjoy being administrator.

In-game use /acmds to check all the admin commands.

Bugs
Код:
Except the kicking that wont show the message before it does so, there's no other bug, but that either is not a bug because it can be fixed easily.
Downloads

Solidfiles download: DIRECT LINK [FULL PACK]


THIS GAMEMODE WONT BE UPDATED ANYMORE. I'LL LASTLY ADD A POSITION SAVING WHILE EXITING AND THAT'S ALL. I WONT BE ADDING/EDITING OTHER ANY THING.
Reply
#2

Nice basic gamemode, good for newb Scripters!
Reply
#3

You seriouly dont need to make a new whole topic for 7 commands, lol.

Just update that one... And ask a mod to re-name it.
Reply
#4

Quote:
Originally Posted by HyDrAtIc
Посмотреть сообщение
You seriouly dont need to make a new whole topic for 7 commands, lol.

Just update that one... And ask a mod to re-name it.
Sorry for that though, but since I didn't see how to edit the title so I though to not get the beta boured, so... Sorry again.
Reply
#5

nice
Reply
#6

Quote:
Originally Posted by WuMing
Посмотреть сообщение
nice
Thank you.
Reply
#7

If you know something needs adjusted/fixed (kick messages) why not fix it yourself? I mean, like literally there's an include where you can install that and what-not.
Reply
#8

Quote:
Originally Posted by Akira297
Посмотреть сообщение
If you know something needs adjusted/fixed (kick messages) why not fix it yourself? I mean, like literally there's an include where you can install that and what-not.
I'll fix it but I'm some kind of bored, so I'm either waiting some time to make the next update so I may add the last feature and fix the possible bugs, since I'm aware of all them.
Reply
#9

Bump, please give me more suggestions.
Reply
#10

Bump...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)