SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 24/12/2012, 12:33 AM   #1
JustinAn
Huge Clucker
 
JustinAn's Avatar
 
Join Date: Apr 2012
Location: stfu
Posts: 236
Reputation: 28
Default Base Roleplay Script [BEGINNERS]


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

Last edited by JustinAn; 26/08/2014 at 04:52 PM. Reason: Few edits and fixes.
JustinAn is offline   Reply With Quote
Old 24/12/2012, 02:21 AM   #2
changeME
Big Clucker
 
changeME's Avatar
 
Join Date: Oct 2012
Posts: 94
Reputation: 28
Default Re: Base Roleplay Script [BEGINNERS]

wow nice Dude
__________________
Scripting For +Rep On samp fourms
Pm Me If You want Any GFX I just need +Rep
Skype:-Vasumax24
********:-www.********.com/vasumax
changeME is offline   Reply With Quote
Old 24/12/2012, 02:37 AM   #3
JustinAn
Huge Clucker
 
JustinAn's Avatar
 
Join Date: Apr 2012
Location: stfu
Posts: 236
Reputation: 28
Default Re: Base Roleplay Script [BEGINNERS]

Quote:
Originally Posted by changeME View Post
wow nice Dude
Thanks alot! Nice name by the way.
__________________
JustinAn is offline   Reply With Quote
Old 24/12/2012, 03:44 AM   #4
Alcatraz Gaming
Huge Clucker
 
Alcatraz Gaming's Avatar
 
Join Date: Jul 2012
Location: Alcatraz Island
Posts: 336
Reputation: 31
Default Re: Base Roleplay Script [BEGINNERS]

Can you post a Pastebin link so that i can do a quick look and jot down a review?
Alcatraz Gaming is offline   Reply With Quote
Old 24/12/2012, 04:00 AM   #5
JustinAn
Huge Clucker
 
JustinAn's Avatar
 
Join Date: Apr 2012
Location: stfu
Posts: 236
Reputation: 28
Default Re: Base Roleplay Script [BEGINNERS]

Quote:
Originally Posted by Vinnie Robardo View Post
Can you post a Pastebin link so that i can do a quick look and jot down a review?
Sure, here why not.

And if I did a bad job, I apologize.

Thanks, JustinAn.

Link: http://pastebin.com/EV0RQxpp

And yeah, when you're looking at it. It has bad indentation and stuff only in pastebin, but it won't be on the script, but I'm pretty sure you know that I guess.
__________________
JustinAn is offline   Reply With Quote
Old 24/12/2012, 04:38 AM   #6
Alcatraz Gaming
Huge Clucker
 
Alcatraz Gaming's Avatar
 
Join Date: Jul 2012
Location: Alcatraz Island
Posts: 336
Reputation: 31
Default Re: Base Roleplay Script [BEGINNERS]

Review - 9/10

Good and very simple script, contains basic needs for a basic RP script, also colorful enough

Mistakes -

pawn Code:
SetGameModeText("H-RP v1.0.0");

H-RP? Isn't it supposed to be B-RP ( Base - Roleplay )?

Suggestions - More colorful texts, also ~w~, ~r~, ~y~, are also useful enough, not to say to NOT use #define COLOR_SOMETHING 135335

Also, read this SA-MP Wiki page if you don't get me, or want to learn more - http://wiki.sa-mp.com/wiki/Colors_List
Alcatraz Gaming is offline   Reply With Quote
Old 24/12/2012, 06:22 AM   #7
Joshua1
Huge Clucker
 
Joshua1's Avatar
 
Join Date: Nov 2012
Location: Idaho, USA
Posts: 258
Reputation: 36
Default Re: Base Roleplay Script [BEGINNERS]

I like it, goodjob. But I'm not even a beginner yet.
__________________

-Heavy and strict roleplay.
-Realistic economy.
-Mature and professional staff team.
-Experience the fun of roleplaying in the county!

Join Now
Forums - Discord
Joshua1 is offline   Reply With Quote
Old 24/12/2012, 03:36 PM   #8
JustinAn
Huge Clucker
 
JustinAn's Avatar
 
Join Date: Apr 2012
Location: stfu
Posts: 236
Reputation: 28
Default Re: Base Roleplay Script [BEGINNERS]

Quote:
Originally Posted by Vinnie Robardo View Post
Review - 9/10

Good and very simple script, contains basic needs for a basic RP script, also colorful enough

Mistakes -

pawn Code:
SetGameModeText("H-RP v1.0.0");

H-RP? Isn't it supposed to be B-RP ( Base - Roleplay )?

Suggestions - More colorful texts, also ~w~, ~r~, ~y~, are also useful enough, not to say to NOT use #define COLOR_SOMETHING 135335

Also, read this SA-MP Wiki page if you don't get me, or want to learn more - http://wiki.sa-mp.com/wiki/Colors_List
Ahh yeah! Sorry, cause I wanted to name it High Roleplay but then I've decided to change it to base and forgot that part, I apologize! Sorry.

EDIT: And yeah, I'll try to use those suggestions, maybe later on the next gamemode I make. Thanks, really appreciate them! Game Mode re uploaded also.
__________________
JustinAn is offline   Reply With Quote
Old 24/12/2012, 03:41 PM   #9
JustinAn
Huge Clucker
 
JustinAn's Avatar
 
Join Date: Apr 2012
Location: stfu
Posts: 236
Reputation: 28
Default Re: Base Roleplay Script [BEGINNERS]

Quote:
Originally Posted by Joshua1 View Post
I like it, goodjob. But I'm not even a beginner yet.
Thanks, really appreciate it!
__________________
JustinAn is offline   Reply With Quote
Old 24/12/2012, 05:23 PM   #10
SmithyComp
Big Clucker
 
SmithyComp's Avatar
 
Join Date: Jun 2012
Posts: 135
Reputation: 1
Default Re: Base Roleplay Script [BEGINNERS]

NICE, LEAKING THE HZRP SCRIPT.
SmithyComp is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GameMode] Norton's Roleplay Base Script V2 iNorton Gamemode Scripts 59 28/03/2013 06:01 PM
[GameMode] SQLite Roleplay Script - Base Norn Gamemode Scripts 56 03/07/2012 08:29 PM
[GameMode] Woo-Wee Desert DM Base [ GOOD FOR BEGINNERS ] Spiral Gamemode Scripts 10 08/11/2010 07:33 PM


All times are GMT. The time now is 04:41 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.