SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 22/12/2015, 05:46 PM   #1
PatrickGTR
Little Clucker
 
PatrickGTR's Avatar
 
Join Date: Sep 2010
Location: United Kingdom
Posts: 18
Reputation: 53
Default San Fierro Cops and Robbers (Getting started)

Information

I've been working in this gamemode for a month but I got bored and ran out of ideas so therefore I decided to release it as a 'getting started' script, this script is really good to start your Cops and Robbers gamemode! - I lost interest therefore I won't be updating this anymore but I would help people if they're in need. I also accept people who are interested on continuing this gamemode! - If you find any bug feel free to fix it and pull a request!

Features

- Account data are saved using SQLite
- Entrance/Exit around SF
- Robbable shops around SF - Related to Entrance Exit[/COLOR]
- Attachment System
  • /attachment (delete, buy, edit, view, attach) (slot)
- Some commands
  • /rob (playerid)
  • /tie (playerid)
  • /untie (playerid)
  • /breaktie (no parameter)
  • /rules (no parameter)
  • /pm (playerid
  • /blockpm (no parameter)
  • /unblockpm (no parameter)
- Class System
  • Hitman
    • /hitlist
    • /track
    • /placehit
  • Weapon Dealer
    • sellgun
    • acceptgun
    • sellarmour
    • acceptarmour
  • Rapist
    • /rape - Different diseases and damages depending on infected disease.
  • Drug Dealer
  • Hacker
- Reliable Ban System saves player name, banner name, reason, ban date, ban duration, gcpi and IP#
  • /ban (hour(s), day(s), week(s), month(s), year(s)) (playerid) (reason) (duration)
  • /unban (player name)

Need further work

- Each shop should have specific skins depending on shop they belong.
- Commands for other classes and general Cops and Robbers commands.
- Complete Drug Dealer and Hacker class
- Complete player accessories and player items (Add uses to them)
- Finish the use of GEOLocation
  • scissors (/cuttie - escape from tie)
  • weed (/smokeweed - heal your hp +50 - (if hp >= 80 command unusable - MAX:50g)
  • crack (/smokecrack - heal your armour + 50 - (if armour >= 60 command unusable - MAX:50g)
  • rope (/tie - tie a player, the tied player won't be able to move - MAX: 20)
  • picklock (/escapejail - escape from jail, +30% chance of escaping - MAX: 20)
  • condom (no command - this will protect you from getting raped - MAX:20)
  • wallet (no command - this will protect you from getting robbed - MAX: 20)

Credits & Gamemode Dependencies
Ryder- CTime- http://forum.sa-mp.com/showthread.php?t=294054
Gammix- yoursql- http://forum.sa-mp.com/showthread.php?t=592661
Incognito- streamer - http://forum.sa-mp.com/showthread.php?t=102865
Slice- formatex - http://forum.sa-mp.com/showthread.php?t=313488
****** & current update - YSI- https://github.com/Misiur/YSI-Includes
****** & current update - sscanf - http://forum.sa-mp.com/showthread.php?t=570927
Southclaw - Took a lot of snippets from him

Download
https://github.com/pds2k12/San-Fierro-Cops-and-Robbers
PatrickGTR is offline   Reply With Quote
Old 22/12/2015, 10:14 PM   #2
CrunchxNoy
Little Clucker
 
CrunchxNoy's Avatar
 
Join Date: Nov 2015
Posts: 28
Reputation: 1
Default Re: San Fierro Cops and Robbers (Getting started)

Nice Gamemode !
CrunchxNoy is offline   Reply With Quote
Old 22/12/2015, 10:41 PM   #3
yvoms
Huge Clucker
 
yvoms's Avatar
 
Join Date: Nov 2009
Location: Las Venturas
Posts: 454
Reputation: 26
Default Re: San Fierro Cops and Robbers (Getting started)

Very nice, but what else can we expect from patrick!
Nice done bro, i really love it, ill use this to develop my gamemode further!
+REP!
__________________

yvoms is offline   Reply With Quote
Old 24/12/2015, 09:54 PM   #4
CrazyChoco
Gangsta
 
Join Date: Feb 2012
Posts: 896
Reputation: 35
Default Re: San Fierro Cops and Robbers (Getting started)

Probably one of the cleanest gamemode i've ever seen. The code inside looks pretty sweet. Keep it up!
CrazyChoco is offline   Reply With Quote
Old 24/12/2015, 10:05 PM   #5
PatrickGTR
Little Clucker
 
PatrickGTR's Avatar
 
Join Date: Sep 2010
Location: United Kingdom
Posts: 18
Reputation: 53
Default Re: San Fierro Cops and Robbers (Getting started) (LARGE IMAGES)

Some screenshots I forgot to upload when I released the gamemode.

Logging in


Registering


Civilian Class Selection


Police Class Selection


Army Class Selection


Robbing a store (SUCCESS!)





Robbing a store (FAIL)
PatrickGTR is offline   Reply With Quote
Old 25/12/2015, 12:30 AM   #6
Amunra
Gangsta
 
Amunra's Avatar
 
Join Date: Nov 2015
Location: Indonesian
Posts: 505
Reputation: 12
Default Re: San Fierro Cops and Robbers (Getting started)

Not bad , but you need to add some location like Los santos etc.
I think 9/10
__________________
Legendary Criminals


Amunra is offline   Reply With Quote
Old 25/12/2015, 09:25 PM   #7
xXRevolverXx
Big Clucker
 
xXRevolverXx's Avatar
 
Join Date: Dec 2015
Location: Egypt
Posts: 78
Reputation: 14
Default Re: San Fierro Cops and Robbers (Getting started)

thats very hard good work, also, i need to ask you about somethings, and here is some useless help,tele cmds, for all the airports, ls,sf,lv. goodluck!


Code:
CMD:lsa(playerid,params[]) {
new string[128];
        new PNAME[MAX_PLAYER_NAME];
	SetPlayerInterior(playerid, 0);
	SetPlayerPos(playerid,1437.0569,-2493.9792,13.5547);
    SendClientMessage(playerid, 0x00FF00FF,"[TELE]You have been teleported to /lsa");
GetPlayerName(playerid, PNAME, MAX_PLAYERS);
        format(string, sizeof(string),"[INFO]%s has been teleported to /lsa", PNAME);
        SendClientMessageToAll(COLOR_GREEN,string);
	return 1;
}
CMD:sfa(playerid,params[]) {
new string[128];
        new PNAME[MAX_PLAYER_NAME];
	SetPlayerInterior(playerid, 0);
	SetPlayerPos(playerid,-1662.9398,-163.1523,15.8525);
    SendClientMessage(playerid, 0x00FF00FF,"[TELE]You have been teleported to /sfa");
GetPlayerName(playerid, PNAME, MAX_PLAYERS);
        format(string, sizeof(string),"[INFO]%s has been teleported to /sfa", PNAME);
        SendClientMessageToAll(COLOR_GREEN,string);
	return 1;
}
CMD:lva(playerid,params[]) {
new string[128];
        new PNAME[MAX_PLAYER_NAME];
	SetPlayerInterior(playerid, 0);
	SetPlayerPos(playerid,1477.4083,1761.8549,10.8125);
    SendClientMessage(playerid, 0x00FF00FF,"[TELE]You have been teleported to /lva");
GetPlayerName(playerid, PNAME, MAX_PLAYERS);
        format(string, sizeof(string),"[INFO]%s has been teleported to /lva", PNAME);
        SendClientMessageToAll(COLOR_GREEN,string);
	return 1;
}
xXRevolverXx is offline   Reply With Quote
Old 26/12/2015, 01:22 PM   #8
RedLabel
Big Clucker
 
Join Date: Jul 2015
Posts: 112
Reputation: 4
Default Re: San Fierro Cops and Robbers (Getting started)

looks good
__________________
Selling really good Roleplay gamemode, server test: 31.168.169.42:4444
my skype: mokiqgc
offer me if you want.
RedLabel is offline   Reply With Quote
Old 26/12/2015, 06:04 PM   #9
DavidGravelli
Huge Clucker
 
DavidGravelli's Avatar
 
Join Date: May 2014
Location: Belgium
Posts: 241
Reputation: 36
Post Re: San Fierro Cops and Robbers (Getting started)

Nice GameMode
DavidGravelli is offline   Reply With Quote
Old 26/12/2015, 06:09 PM   #10
Barnwell
Banned
 
Join Date: May 2014
Location: England
Posts: 555
Reputation: 40
Default Re: San Fierro Cops and Robbers (Getting started)

Nice gamemode good job!
Barnwell 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] Los Santos Cops 'n' Robbers Get Started DarkLored Gamemode Scripts 17 22/12/2015 11:38 PM


All times are GMT. The time now is 05:36 AM.


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