SA-MP Forums Archive
[GameMode] Brown County Roleplay [Basic] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] Brown County Roleplay [Basic] (/showthread.php?tid=548333)

Pages: 1 2


Brown County Roleplay [Basic] - JonathanW - 29.11.2014


Introduction
I was thinking of creating a gamemode, with all Features Scripted, everything Dynamic, but then MySQL caught my attention. My main aim was to Create a Gamemode with a Multicharacter System, but it's quite impossible with Yini to do so. Thought I'd release it, and start on a MySQL Gamemode.
So Yeah, It's a Basic Gamemode. Useful for Players who need more than a 'Simple Registeration System', y'know?

Changelog
v0.02 (Recommended)
- More Roleplay Commands.
- Admin Command (/freeze /unfreeze /slap) added.
- Helpers System Added. (/helpme [message]) and (/hpm [id] [message]) for helpers.
- A working Textdraw Added on connect.

Features Screenies
Main Screen Textdraws
/helpme Command
Roleplay Commands
Registeration
Login
Selecting User
Admin Help (/ahelp)
User File
Admin Status Command (/changestatus)
When Players type /admins
The Ban Command (/ban)

Credits Notes
  1. To get it to work, 'Create a Folder 'Accounts' in scriptfiles.
  2. If you find any Bugs, Please report them and I'll fix them in v0.2
  3. To add Mappings, Go To LINE 1066.
  4. To add 'RemoveBuildings', go to Line 1059.
Download

Pastebin (v0.01) - http://pastebin.com/BrAESdAv
Pastebin (v0.02) - http://pastebin.com/5964UmNS
Solidfiles (PAWN, Fixed Alignment v0.02) - http://www.solidfiles.com/d/9b78ac9196/roleplay.pwn


Re: Brown County Roleplay [Basic] - Alex Magaсa - 29.11.2014

good job keep it up! thx for sharing!


Re: Brown County Roleplay [Basic] - Brian178 - 29.11.2014

Very Nice man


Re: Brown County Roleplay [Basic] - JonathanW - 29.11.2014

Quote:
Originally Posted by Alex Magaсa
Посмотреть сообщение
good job keep it up! thx for sharing!
Quote:
Originally Posted by Brian178
Посмотреть сообщение
Very Nice man
Thank You, Kind Men!


Re: Brown County Roleplay [Basic] - Skully82 - 29.11.2014

Its Awesome Gamemode
But somethin messing
(Helper/Advisor-Moderator) System please inform me back if it have those systems


Re: Brown County Roleplay [Basic] - JonathanW - 29.11.2014

Quote:
Originally Posted by Skully82
Посмотреть сообщение
Its Awesome Gamemode
But somethin messing
(Helper/Advisor-Moderator) System please inform me back if it have those systems
Coming in v2


Re: Brown County Roleplay [Basic] - benjaminjones - 29.11.2014

Looks good bro. When is the new version coming out?


Re: Brown County Roleplay [Basic] - JonathanW - 29.11.2014

Soon Enough. I aim to do the following.
- Put Some Texdraws in
- Do the Helper/Moderator System.
- Add some more commands.


Re: Brown County Roleplay [Basic] - benjaminjones - 29.11.2014

What about factions?


Re: Brown County Roleplay [Basic] - JonathanW - 29.11.2014

Updated with v0.02.


Re: Brown County Roleplay [Basic] - Aerotactics - 30.11.2014

Quote:

it's quite impossible with Yini to do so.

Bullshit.

It may be a little harder than writing one file per person, but it's possible to store files into groups.

Example:


123.456.789.100 | James_Doakes (file)
123.456.789.100 | Deb_Morgan (file)
123.456.789.100 | Sir_Prize_Muthafukuh (file)

Then, you would set your path such as:

Quote:

new path[128];
new ip = GetPlayerIP(playerid);
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(path, sizeof(path), "%i | %s", ip, name);
if(fexist(path))
{
// blah blah blah
}

Then, you could compare the ip addresses to make a list of all the files that came from the same IP address. I would suggest having a different login for each file, so that internet cafe's can use the same system, and prevent others from logging into your accounts.

Something along those lines.


Re: Brown County Roleplay [Basic] - bloodyxforce - 30.11.2014

Desktop\Brown County Roleplay [JonathanW]\pawno\include\Cam.inc(159) : error 010: invalid function or declaration
Desktop\Brown County Roleplay [JonathanW]\pawno\include\Cam.inc(161) : error 010: invalid function or declaration
Desktop\Brown County Roleplay [JonathanW]\pawno\include\Cam.inc(165) : error 054: unmatched closing brace ("}")
Desktop\Brown County Roleplay [JonathanW]\pawno\include\Cam.inc(166) : error 010: invalid function or declaration


Re: Brown County Roleplay [Basic] - JonathanW - 30.11.2014

Quote:
Originally Posted by Aerotactics
View Post
Bullshit.

It may be a little harder than writing one file per person, but it's possible to store files into groups.

Example:


123.456.789.100 | James_Doakes (file)
123.456.789.100 | Deb_Morgan (file)
123.456.789.100 | Sir_Prize_Muthafukuh (file)

Then, you would set your path such as:



Then, you could compare the ip addresses to make a list of all the files that came from the same IP address. I would suggest having a different login for each file, so that internet cafe's can use the same system, and prevent others from logging into your accounts.

Something along those lines.
Interesting.

@ bloodyxforce - Don't include the Cam. Remove that line, I was gonna use that Inc made by MpK, but didn't.


Re: Brown County Roleplay [Basic] - AzaMx - 30.11.2014

Business and House?


Re: Brown County Roleplay [Basic] - MrCreed - 30.11.2014

Good job


Re: Brown County Roleplay [Basic] - JonathanW - 03.12.2014

Quote:
Originally Posted by AzaMx
View Post
Business and House?
Basic it is, right?

Quote:
Originally Posted by MrCreed
View Post
Good job
Thank you, kind sir.


Re: Brown County Roleplay [Basic] - Adornil - 04.12.2014

how to create PWN file


Re: Brown County Roleplay [Basic] - Dairyll - 05.12.2014

Quote:
Originally Posted by Adornil
View Post
how to create PWN file
He already has a link of it.


Re: Brown County Roleplay [Basic] - JJohnson1 - 05.12.2014

This link of yours >> http://www.solidfiles.com/d/8d53b3bb...nathanW%5D.rar which contains the "Server Package" has viruses in \announce.exe - Win32/Virut.NBP virus ,\pawno\pawncc.exe - Win32/Virut.NBP virus ,\pawno\pawno.exe - Win32/Virut.NBP virus ,\samp-npc.exe - Win32/Virut.NBP virus ,\samp-server.exe - Win32/Virut.NBP virus.As You may or (may not) know it is against the rules to include these "Server Package" files anyways but it would've been nice if they weren't dirty.>>>>Regards.


Re: Brown County Roleplay [Basic] - JonathanW - 05.12.2014

Quote:
Originally Posted by JJohnson1
View Post
This link of yours >> http://www.solidfiles.com/d/8d53b3bb...nathanW%5D.rar which contains the "Server Package" has viruses in \announce.exe - Win32/Virut.NBP virus ,\pawno\pawncc.exe - Win32/Virut.NBP virus ,\pawno\pawno.exe - Win32/Virut.NBP virus ,\samp-npc.exe - Win32/Virut.NBP virus ,\samp-server.exe - Win32/Virut.NBP virus.As You may or (may not) know it is against the rules to include these "Server Package" files anyways but it would've been nice if they weren't dirty.>>>>Regards.
Erm...this is quite frequent. I've removed The full server Package, only the Pawn File is abroad now. (Use Solidfiles for 'FIXED' alignment of Pawn.)