SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 06/12/2015, 08:32 PM   #1
donsta3000
Little Clucker
 
Join Date: Aug 2012
Posts: 34
Reputation: 15
Spray Small County Roleplay | DYNAMIC | 0.3.7 | MYSQL R39 | ENG | Unique Script


Small County Roleplay
Intro
Good day! Today I've decided to release my samp gamemode as I have no intention of starting my server (I've lost most of my interest in SAMP). This gamemode has been sitting on my hard-drive for like half a year, in that time I haven't kept up with anything samp related soooo yeah, there may be a few issues.
This is a unique script, but it is by no means finished, so whoever picks this up is going to need to do some work! I've made the repository public and so I guess (dependent on how generous I'm feeling) I will fix issues if you point them out on there! I don't think the script is too hard to understand, but IDK. Anyway, without further ado, Small County RP!

Features
You are going to have to forgive me if I leave things out/am rusty on what things do - I've literally abandoned this project.

Master Account System
Users can register for a 'master account' which is the account used to register their characters. In theory you can have as many characters as you want, but I've limited it to 3 (I think).



Dynamic Faction System
Factions can be fully created and edited in-game. You can dynamically change any aspect of a faction within the faction manager. Factions can have faction vehicles, which can easily be restricted to certain ranks. Faction leaders can change the names of their ranks etc. You can also change how many ranks a faction has, and the point at which certain commands become available.

I have also made an almost fully functional police faction with an array of commands. There is also a law enforcement weapon system, where they have to buy all their weapons above their service pistol via their weapon cache, everything is logged and is able to be view in the police national computer. The PNC can be used to search any vehicle/player and post warrant etc.



Dynamic House System
Houses can be created anywhere in-game by an admin with high enough privileges. There is a list of predefined interiors, however you can easily set house interiors to something custom as I used a dynamic coordinate based system. Unfortunately I haven't implemented a furniture system BUT that shouldn't be too hard to do, seeing as there is a custom mapping system.



Dynamic Business System
Businesses work similar to the housing system, you can have custom interiors, businesses can have an umbrella role of e.g a general store - which give them the generic commands related to that business. Businesses each have their own 'safe' where any earning from the business accumulate (including payday earnings) & can be withdrawn at any time. There is no stock system as of yet. I did start on a new and improved businessmanager but I'm not sure if I finished it...



Dynamic Mapping System
This, from memory is a bit finicky but none the less it allows admins to map objects in game - great for aesthetic features. Any object can be spawned in via the related commands.


Dynamic Icon System
Icons are a big part of this script as they enable dynamic functionality. Icons are used for tasks such as placing a dmv start point, bank desk, car scrap point - anything like that. They are very useful can can be easily moved & name tagged.


Payday System
Inside the bank there is a counter where you can collect your paycheck. Paychecks can be earned through doing sidejobs (there aren't many of these), after which you get paid, not into your hand but via the paycheck system. You can also receive money & XP form your businesses/through welfare by playing more than 30mins, each hour. There is a limit to how much money you can accumulate in the payday system. As mentioned beforehand there is also a leveling system, so you can restrict certain activities to experienced members.


Weapons System
There isn't really a fully functional weapon system, I guess you could implement something into ammunition. But I believe I started on an 'internet' based weapon system - you would have to know the specific URL to a special site in order to order weapons - but this was never finished (pl0x finish someone).


And much more...
There are plenty of things that I've left out here quite simply because I couldn't remember them/cba to write about them - but take a look at the script & find out for yourself!



Administration
There are plenty of administrator commands, which will be listed below. There is also a basic anti cheat for weapons & such (not entirely tested but I'm pretty sure it works).



Commands
I don't think I have the patience to write them all out BUT I will just paste the commands I already have written out! But in terms of commands the most useful admin command is /setp - it can be used to set almost anything related to the player!
Code:
Chat Commands: 
/me /do /b /(s)hout /(l)ow /(w)hisper 

Vehicle Commands: 
/(e)ngine /lights /vmusic /myvehicles

Purchasing Commands:
/buy /buyhouse /buybiz 

Other Commands:
/stats /inventory /changeaccountpassword /(clearanim)ation /changespawn

Help Commands:
/fhelp /bhelp /phelp /rhelp /animlist


ADMIN CMDS
ADMIN LVL 1:[/adminduty][/binfo][/kick][/ban][/(un)freeze][/(down)slap][/(un)mute][/(announce)ment]
ADMIN LVL 1:[/setplayer [id] [option]]
ADMIN LVL 1:      options-> [health][armour][level][skinvw][inteior][age][gender]

ADMIN LVL 2:[/gotoh][/gotoi][/gotob][/gotov][/gotop][/getp][/getv][/giveweapon][/resetweapons]

ADMIN LVL 3:[/deletepv][/vehicle][/delv][/delvall][/fvreload]

ADMIN LVL 4:[/sethouse][/seticon][/setveh][/settime]

ADMIN LVL 5:[/createfv][/deletefv][/factionmanager][/businessmanager][/iconmanager]
ADMIN LVL 5:[/setplayer [id] [option]]
ADMIN LVL 5:      options-> [faction][rank][job][hentered][bentered]
Installation
[strike]My advice for installation is going to be limited, partially because I can't remember how to install half the rubbish - partly because I can't be bother, but none the less here it goes![/strike]

I suggest you take a look at the repository and download the lasted version under the 'Tags' section. This will contain all the files you could possibly need to get started!

If anyone does want to contribute/fix - do go ahead & fork it!


1. What you will need to do in order to get this working (after downloading the latest version) is set up the MYSQL database. You can download the DATABASE here.

2. Import that into your mysql database.

3. Next you will have to locate the server's connection file. It is situated in \gamemodes\modules\server\connection.pwn. Open that up and edit the MYSQL details to your liking.

4. Now, using pawno compile the server (from SCRP-R39.pwn NOT from the connection file!)...

5. If I'm not mistaken - the server should now work now!


Version History
-----------------------------------------------------------------------------------------------------

Known Issues
  • The quiz needs some attention, I believe questions can come up more than once!



Closing Remarks
I hope this post wasn't too long - I thought I should be thorough as this script has potential! I would love to see other people contributing to the repository, maybe you can teach me a trick or two! Again I must stress that this project is a work in progress (even though I don't work on it anymore(yet)) so there will be bugs/glitches. I hope you enjoy it!

Foster/donsta3000
__________________
Small County Roleplay

Feel free to ask me any questions however, I can't guarantee I'll answer!

Last edited by donsta3000; 09/05/2017 at 08:27 PM.
donsta3000 is offline   Reply With Quote
Old 06/12/2015, 08:56 PM   #2
benjaminjones
Huge Clucker
 
Join Date: Sep 2012
Posts: 456
Reputation: 74
Default Re: Small County Roleplay | DYNAMIC | 0.3.7 | MYSQL R39 | ENG | Unique Script

Antivirus says it has a virus in the download link?
benjaminjones is offline   Reply With Quote
Old 06/12/2015, 09:36 PM   #3
KevinExec
Gangsta
 
Join Date: Nov 2015
Location: cj's bedroom
Posts: 596
Reputation: 71
Default Re: Small County Roleplay | DYNAMIC | 0.3.7 | MYSQL R39 | ENG | Unique Script

Prolly he has put a .bat to control your computer abd upload something to your network. if u have something bought like vps or website etc. he can hsck in it as admin if this is true
__________________
KevinExec is offline   Reply With Quote
Old 06/12/2015, 10:19 PM   #4
donsta3000
Little Clucker
 
Join Date: Aug 2012
Posts: 34
Reputation: 15
Default Re: Small County Roleplay | DYNAMIC | 0.3.7 | MYSQL R39 | ENG | Unique Script

Quote:
Originally Posted by KevinExec View Post
Prolly he has put a .bat to control your computer abd upload something to your network. if u have something bought like vps or website etc. he can hsck in it as admin if this is true
You are a moron. It is a god damn repository, you can see everything that is in it. Anyway I have uploaded it to a website & here is a virus scan.
donsta3000 is offline   Reply With Quote
Old 06/12/2015, 10:44 PM   #5
Alex Magaņa
High-roller
 
Alex Magaņa's Avatar
 
Join Date: Oct 2012
Location: Greece
Posts: 2,393
Reputation: 191
Default Re: Small County Roleplay | DYNAMIC | 0.3.7 | MYSQL R39 | ENG | Unique Script

Is this a SCRP edit or unique one?
It looks good so far.
__________________

Discord: #lsprison
Server: 94.68.237.141:6969

Alex Magaņa is offline   Reply With Quote
Old 06/12/2015, 10:51 PM   #6
donsta3000
Little Clucker
 
Join Date: Aug 2012
Posts: 34
Reputation: 15
Default Re: Small County Roleplay | DYNAMIC | 0.3.7 | MYSQL R39 | ENG | Unique Script

Quote:
Originally Posted by Alex Magaņa View Post
Is this a SCRP edit or unique one?
It looks good so far.
Nope, no edit - unique.
donsta3000 is offline   Reply With Quote
Old 06/12/2015, 11:50 PM   #7
White1804
Little Clucker
 
Join Date: Mar 2014
Posts: 5
Reputation: 0
Default Respuesta: Small County Roleplay | DYNAMIC | 0.3.7 | MYSQL R39 | ENG | Unique Script

The file '' Connection '' shows 24 errors.
White1804 is offline   Reply With Quote
Old 07/12/2015, 02:31 AM   #8
vKuruptz
Little Clucker
 
Join Date: Jul 2012
Posts: 1
Reputation: 0
Default Re: Small County Roleplay | DYNAMIC | 0.3.7 | MYSQL R39 | ENG | Unique Script

Can someone give me the whole link to the full gamemode ready to play straight away because I'm new to all this dunno how to update plugins and stuff please.
vKuruptz is offline   Reply With Quote
Old 07/12/2015, 06:26 AM   #9
donsta3000
Little Clucker
 
Join Date: Aug 2012
Posts: 34
Reputation: 15
Default Re: Respuesta: Small County Roleplay | DYNAMIC | 0.3.7 | MYSQL R39 | ENG | Unique Script

Quote:
Originally Posted by White1804 View Post
The file '' Connection '' shows 24 errors.
You are not supposed to compile that file. You must compile the main gamemode.

I have changed the database file - it now contains some placeholder data to help you get started.
donsta3000 is offline   Reply With Quote
Old 07/12/2015, 07:58 AM   #10
N0FeaR
High-roller
 
N0FeaR's Avatar
 
Join Date: Nov 2011
Location: Los Santos, Idlewood
Posts: 2,239
Reputation: 138
Default Re: Small County Roleplay | DYNAMIC | 0.3.7 | MYSQL R39 | ENG | Unique Script

Good job!
__________________
Currently working in:
None
Things I done:
[GameMode]Prototype Roleplay
[GameMode]Reality Prison Roleplay
[GameMode]Los Santos GangWar
Check out my website http://rg-rp.org

Quote:
Originally Posted by ThaiLuan View Post
C:\Users\Administrator\Downloads\Viet-RP\gamemodes\3mien.pwn(112016) : fatal error 101: cannot write to file: "disk full"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Help me! How to fix error
N0FeaR 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] Bone County RolePlay[UNDER DEVELOPMENT] [UNIQUE SCRIPT] bustern Gamemode Scripts 372 08/07/2017 07:23 PM


All times are GMT. The time now is 10:58 PM.


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