23.12.2012, 23:33
(
Last edited by JustinAn; 26/08/2014 at 03:52 PM.
Reason: Few edits and fixes.
)
Base Roleplay Script
INTRODUCTION
Hey guys, today I'll be releasing a simple base script for role playing which was made out of boredom. Also this base script was my first gamemode so yea, if I've done a bad job, I apologize.
FEATURES
• 17 administrator commands, not that less in my opinion, you can also use these commands as a guide to make more admin commands.
• 14 player commands including Roleplaying commands.
• Fully working login register system using dialogs.
• Login register system includes saving the pass(of course), admin level, interior, virutal world, skin, level, cash, security key(will be explained in the next feature), kills, deaths, facing angle, armor, health, position of the player last log out position.
• Security key is a 2nd password for a admin so they don't get hacked.
• Roleplay name checker when a player connects.
• Vehicles around Los Santos.
• "_" don't show up in chats, just FirstName LastName.
• When a player disconnects and a player was nearby them, it'll say player has left server, timedout or kicked(won't say
banned if player got banned), using ProxDetector.
• Hashing passwords in the user's file.
INSTRUCTIONS
When you register into the server, it'll spawn you with $1,000, so now if you want to be an administrator, log into RCON, using '/rcon login baserp', of course without the quotes, using /makeadmin.Then type /ahelp or /ah for any further admin help commands.When you go into the script, maybe changing some stuff, try to find words like 'CHANGEME' and edit them, for example I placed 'CHANGEME Roleplay', but I've decided that you guys can change it to what ever you want.Users registered can be found in scriptfiles, then into the folder named 'Users', you'll have to make one in the scriptfiles folder named 'User'.Now, after you're all done what you want. Goto into server.cfg which is in the server folder and change the rcon password, server name and all that.
CREDITS
• Credits to Y_Less for making this wonderful YINI/YSI include, sscanf and foreach.
• Kush for making the login register system.
• Zeex for his ZCMD command processor.
• Dracoblue for hashing passwords.
• JustinAn for making this gamemode.
NOTE: If I forgot any other credits, I apologize. Comment below your name and I'll add it in.
DOWNLOAD
[B][SIZE="2"]NOTE: I am very sorry, for not having linux download link, I only have windows. And also if mediafire is blocked in your country, please tell me another link for uploading (Solidfiles for example).
- Windows
- Pastebin
Following plugins & includes you will need to download.
Note: You will have to download your own SAMP executables here.
-sscanf2
-zcmd
-YSI
-foreach
BUGS
I have found no bugs at the moment, if there is please leave a comment below so I can fix it.
CHANGES
If you have any suggestions or fixes, please do not hesitate to post a suggestion by leaving a comment below because I'd appreciate it, thanks. And mirrors are accepted.
INTRODUCTION
Hey guys, today I'll be releasing a simple base script for role playing which was made out of boredom. Also this base script was my first gamemode so yea, if I've done a bad job, I apologize.
FEATURES
• 17 administrator commands, not that less in my opinion, you can also use these commands as a guide to make more admin commands.
• 14 player commands including Roleplaying commands.
• Fully working login register system using dialogs.
• Login register system includes saving the pass(of course), admin level, interior, virutal world, skin, level, cash, security key(will be explained in the next feature), kills, deaths, facing angle, armor, health, position of the player last log out position.
• Security key is a 2nd password for a admin so they don't get hacked.
• Roleplay name checker when a player connects.
• Vehicles around Los Santos.
• "_" don't show up in chats, just FirstName LastName.
• When a player disconnects and a player was nearby them, it'll say player has left server, timedout or kicked(won't say
banned if player got banned), using ProxDetector.
• Hashing passwords in the user's file.
INSTRUCTIONS
When you register into the server, it'll spawn you with $1,000, so now if you want to be an administrator, log into RCON, using '/rcon login baserp', of course without the quotes, using /makeadmin.Then type /ahelp or /ah for any further admin help commands.When you go into the script, maybe changing some stuff, try to find words like 'CHANGEME' and edit them, for example I placed 'CHANGEME Roleplay', but I've decided that you guys can change it to what ever you want.Users registered can be found in scriptfiles, then into the folder named 'Users', you'll have to make one in the scriptfiles folder named 'User'.Now, after you're all done what you want. Goto into server.cfg which is in the server folder and change the rcon password, server name and all that.
CREDITS
• Credits to Y_Less for making this wonderful YINI/YSI include, sscanf and foreach.
• Kush for making the login register system.
• Zeex for his ZCMD command processor.
• Dracoblue for hashing passwords.
• JustinAn for making this gamemode.
NOTE: If I forgot any other credits, I apologize. Comment below your name and I'll add it in.
DOWNLOAD
[B][SIZE="2"]NOTE: I am very sorry, for not having linux download link, I only have windows. And also if mediafire is blocked in your country, please tell me another link for uploading (Solidfiles for example).
- Windows
- Pastebin
Following plugins & includes you will need to download.
Note: You will have to download your own SAMP executables here.
-sscanf2
-zcmd
-YSI
-foreach
BUGS
I have found no bugs at the moment, if there is please leave a comment below so I can fix it.
CHANGES
Code:
• Fixed non-stop flying into the sky after spawn. • Available for 0.3z use.