[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


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)