SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 09/05/2015, 04:31 PM   #1
Chrillzen
High-roller
 
Chrillzen's Avatar
 
Join Date: Jul 2010
Posts: 1,015
Reputation: 110
Default Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD]




Lines: 25517

Features:

Dynamic Housing System
Dynamic Faction System
Vehicle Dealership (credits to MadeMan)
Dynamic Business System
All of the necessary Role Play commands.
Busdriver Job, Pizza Stack Job, Fishing Job, 24/7 Job.
Advanced Windows System
Very clean and barely any grammar mistakes.
Death System with textdraws (showing where u got shot and how many times)
Much more!












Code:
CMD:commands(playerid, params[])
{
	SCM(playerid, COLOR_WHITE, "_______________________________[SERVER COMMANDS]_______________________________");
	SCM(playerid, COLOR_WHITE, "[GENERAL:] /pay /pm /stats /dice /call /givedrug /animlist /factionhelp /dropgun /refuel /kph /mph /stats /admins /supporters");
	SCM(playerid, COLOR_WHITE, "[GENERAL:] /report /givegun /balance /withdraw /deposit /pickup /hangup /takedrivingtest /notehelp /jobhelp /pickupgun /inv");
	SCM(playerid, COLOR_WHITE, "[GENERAL:] /sms /licenses /greet /v /businesshelp /househelp /fishinghelp /factioninfo /invite /id /coin /ageup /vgivekeys /walk");
	SCM(playerid, COLOR_WHITE, "[GENERAL:] /(ad)vertisement /frisk /train /buy /help /low /do /me /shout /(o)oc /(f)action /windows /removecp /signwelfare /walkstyle");
	SCM(playerid, COLOR_WHITE, "[GENERAL:] /phonehelp /boombox /smoke /drink /usedrug /blockpm /fishingrod /helpme /buydrink /refuel /vsell /map /quitwelfare /list_tickets");
    if(PlayerInfo[playerid][pFaction] == 2)
    {
		SCM(playerid, COLOR_WHITE, "[POLICE:] /arrest /cuff /uncuff /opendoor /closedoor /locker /closecell /opencell /opengate /closegate");
		SCM(playerid, COLOR_WHITE, "[POLICE:] /revokeguns /revokedrugs /(m)egaphone /tazer /(r)adio /revokelicense /vmdc");
		SCM(playerid, COLOR_WHITE, "[POLICE:] /spike /removespike /removeroadblock /roadblock /ticket /takegunrights /mdc /suspect");
    }
   	return 1;
}

Code:
CMD:admincommands(playerid, params[])
{
	if(PlayerInfo[playerid][pAdmin] < 1)
    {
		SCM(playerid, COLOR_GREY, "You're not authorized to use this command.");
	}
	if(PlayerInfo[playerid][pAdmin] == 1)
    {
   		SCM(playerid, COLOR_WHITE, "_______________________________[SUPPORTER COMMANDS]_______________________________");
		SCM(playerid, COLOR_WHITE, "[SUPPORTERS:] /accepthelpme /ignorehelpme /warn /mute /unmute /freeze /unfreeze");
		SCM(playerid, COLOR_WHITE, "[SUPPORTERS:] /tduty /(a)dminchat /ajail /astats /kick /spectate /spectateoff");
    }
    if(PlayerInfo[playerid][pAdmin] == 2)
    {
   		SCM(playerid, COLOR_WHITE, "_______________________________[ADMINISTRATOR COMMANDS]_______________________________");
		SCM(playerid, COLOR_WHITE, "[SUPPORTERS:] /accepthelpme /ignorehelpme /warn /mute /unmute /freeze /unfreeze");
		SCM(playerid, COLOR_WHITE, "[SUPPORTERS:] /goto /gethere /tduty /(a)dminchat /ajail /astats /kick /spectate /spectateoff");
		SCM(playerid, COLOR_WHITE, "[JUNIOR ADMINISTRATORS:] /free /gotofuelstation /editv /setfuel /takegunrights /givegunrights /setskin /setvw /sethp");
		SCM(playerid, COLOR_WHITE, "[JUNIOR ADMINISTRATORS:] /setarmour /rtc /arevokedrugs /arevokeguns /afactionname /asetleader /sendtols /gotols /äslap");
		SCM(playerid, COLOR_WHITE, "[JUNIOR ADMINISTRATORS:] /afactioninfo /afactionrankname /alock /seenames /spectate /spectateoff /ban /unban /unbanip /offlineban");
    }
    if(PlayerInfo[playerid][pAdmin] == 3)
    {
   		SCM(playerid, COLOR_WHITE, "_______________________________[ADMINISTRATOR COMMANDS]_______________________________");
		SCM(playerid, COLOR_WHITE, "[SUPPORTERS:] /accepthelpme /ignorehelpme /warn /mute /unmute /freeze /unfreeze");
		SCM(playerid, COLOR_WHITE, "[SUPPORTERS:] /goto /gethere /tduty /(a)dminchat /ajail /astats /kick /spectate /spectateoff");
		SCM(playerid, COLOR_WHITE, "[JUNIOR ADMINISTRATORS:] /free /gotofuelstation /editv /setfuel /takegunrights /givegunrights /setskin /setvw /sethp");
		SCM(playerid, COLOR_WHITE, "[JUNIOR ADMINISTRATORS:] /setarmour /rtc /arevokedrugs /arevokeguns /afactionname /asetleader /sendtols /gotols /aslap");
		SCM(playerid, COLOR_WHITE, "[JUNIOR ADMINISTRATORS:] /afactioninfo /afactionrankname /alock /seenames /spectate /spectateoff /ban /unban /unbanip /offlineban");
       	SCM(playerid, COLOR_WHITE, "[GENERAL ADMINISTRATORS:] /agivegun /givemoney /setmoney /agivedrug /alockbiz /asellbiz" );
       	SCM(playerid, COLOR_WHITE, "[GENERAL ADMINISTRATORS:] /asellhouse /alockhouse /createhouse /deletehouse /alock /seenames" );
    }
    if(PlayerInfo[playerid][pAdmin] == 4)
    {
   		SCM(playerid, COLOR_WHITE, "_______________________________[ADMINISTRATOR COMMANDS]_______________________________");
   		
		SCM(playerid, COLOR_WHITE, "[SUPPORTERS:] /accepthelpme /ignorehelpme /warn /mute /unmute /freeze /unfreeze");
		SCM(playerid, COLOR_WHITE, "[SUPPORTERS:] /goto /gethere /tduty /(a)dminchat /ajail /astats /kick /spectate /spectateoff");
		SCM(playerid, COLOR_WHITE, "[JUNIOR ADMINISTRATORS:] /free /gotofuelstation /editv /setfuel /takegunrights /givegunrights /setskin /setvw /sethp");
		SCM(playerid, COLOR_WHITE, "[JUNIOR ADMINISTRATORS:] /setarmour /rtc /arevokedrugs /arevokeguns /afactionname /asetleader /sendtols /gotols /aslap");
		SCM(playerid, COLOR_WHITE, "[JUNIOR ADMINISTRATORS:] /afactioninfo /afactionrankname /alock /seenames /spectate /spectateoff /ban /unban /unbanip /offlineban");
       	SCM(playerid, COLOR_WHITE, "[GENERAL ADMINISTRATORS:] /agivegun /givemoney /setmoney /agivedrug /alockbiz /asellbiz" );
       	SCM(playerid, COLOR_WHITE, "[GENERAL ADMINISTRATORS:] /asellhouse /alockhouse /createhouse /deletehouse /alock /seenames" );
       	SCM(playerid, COLOR_WHITE, "[LEAD ADMINISTRATORS:] /restart");
    }
   	return 1;
}



To run the script, you'll need to install these plugins:
Streamer
sscanf2


And these includes:
ZCMD http://forum.sa-mp.com/showthread.php?t=91354
Y_INI http://www.y-less.com/list.php?id=4
ELC_AC_BASE http://forum.sa-mp.com/showthread.php?t=218139
FloodControl http://forum.sa-mp.com/showthread.php?t=320649
mSelection http://forum.sa-mp.com/showthread.php?t=407045
fader http://forum.sa-mp.com/showthread.php?t=124091


Download:

2015-07-01 Hotfix:
Fixed an issue where you couldn't give damage to other players.

Click here!

First Gamemode Hotfix:(download the first release and then this one and apply this over the first package)

http://www.solidfiles.com/d/7ddf2e111e/
http://www.upload.ee/files/4777848/S...ePlay.pwn.html
http://s000.tinyupload.com/index.php...96561965539823

First Release & Scriptfiles:

http://www.upload.ee/files/4777857/Roleplay.rar.html
http://www.solidfiles.com/d/dba2aa69ee/


Notes:

There are some houses and businesses already, but you'll have to create the remaining ones with /createbiz and /createhouse! Check line 11668 for the different types that exist. (If you have edited the gamemode, it's at the createbiz command.

Last edited by Chrillzen; 03/07/2015 at 07:33 PM.
Chrillzen is offline   Reply With Quote
Old 09/05/2015, 04:41 PM   #2
SpikY_
High-roller
 
SpikY_'s Avatar
 
Join Date: Jul 2014
Location: xSF
Posts: 1,267
Reputation: 128
Default Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD]

Screenshots?
Seems good
__________________
-
SpikY_ is offline   Reply With Quote
Old 09/05/2015, 04:53 PM   #3
DevinPatino
Big Clucker
 
DevinPatino's Avatar
 
Join Date: Dec 2013
Location: Compton
Posts: 80
Reputation: 1
Default Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD]

Add more commands maybe? Also add some screenshots for more feedback can't really judge without no screenshots or video of some sort.
__________________
Herro
DevinPatino is offline   Reply With Quote
Old 09/05/2015, 05:02 PM   #4
ChroMer
Little Clucker
 
Join Date: Oct 2014
Posts: 31
Reputation: 3
Default Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD]

it is really cool, basic and very good for a roleplay server
some mapping would be really nice
9/10
ChroMer is offline   Reply With Quote
Old 09/05/2015, 05:05 PM   #5
Alex Magaņa
High-roller
 
Alex Magaņa's Avatar
 
Join Date: Oct 2012
Location: 𝕭𝖗𝖔𝖙𝖍𝖊𝖗𝖍𝖔𝖔𝖉
Posts: 2,441
Reputation: 211
Default Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD]

This seems an edit but not sure about it
Questions:
1) How many days it took you to develop this?
2) Why you didn't add any pictures to show-off dev work.
3) Where's the credits?
__________________

𝕸𝖎𝖗𝖆𝖒𝖔𝖓𝖙𝖊𝖘 𝕿𝖗𝖚𝖈𝖐𝖎𝖓𝖌
[ 𝕳𝖔𝖒𝖊 || 𝕱𝖔𝖗𝖚𝖒 || 𝕯𝖎𝖘𝖈𝖔𝖗𝖉 || 𝕽𝖆𝖉𝖎𝖔 || 𝕾𝖊𝖗𝖛𝖊𝖗 ]



𝕭𝖑𝖆𝖈𝖐 𝕾𝖖𝖚𝖆𝖉
[ 𝕳𝖔𝖒𝖊 || 𝕱𝖔𝖗𝖚𝖒 || 𝕯𝖎𝖘𝖈𝖔𝖗𝖉 || 𝕾𝖊𝖗𝖛𝖊𝖗 ]

Alex Magaņa is offline   Reply With Quote
Old 09/05/2015, 06:17 PM   #6
JJohnson1
Big Clucker
 
JJohnson1's Avatar
 
Join Date: Sep 2012
Location: Ontario,Canada
Posts: 55
Reputation: 2
Default Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD]

May sound like a silly question but will this run on 0.3.7 ? The reason I ask is because a few of my servers running 0.3z wont run on 0.3.7.After server starts keep getting spammed with this >Run time error 4: "Array index out of bounds" Accessing element at index 48 past array upper bound 47.*On topic....Chrillzen ur GM looks nice thanks for sharing will give a looksee +1.
JJohnson1 is offline   Reply With Quote
Old 09/05/2015, 07:03 PM   #7
hamzajaved780
Big Clucker
 
hamzajaved780's Avatar
 
Join Date: Jan 2015
Location: Karachi
Posts: 174
Reputation: 14
Default Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD]

Good job
__________________
hamzajaved780 is offline   Reply With Quote
Old 09/05/2015, 08:12 PM   #8
Chrillzen
High-roller
 
Chrillzen's Avatar
 
Join Date: Jul 2010
Posts: 1,015
Reputation: 110
Default Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD]

Quote:
Originally Posted by Alex Magaņa View Post
This seems an edit but not sure about it
Questions:
1) How many days it took you to develop this?
2) Why you didn't add any pictures to show-off dev work.
3) Where's the credits?
1. I didn't count as I worked on it for fun. It took a couple of months.
2. I probably have pictures somewhere but I didn't make this script only to release it, so I'm not going to bother wasting time on that, hence why the thread is so short.
3. As I already stated, the script was made by me and the vehicle system was made by MadeMan and I credited him in the main post.

EDIT: Uploading an album of pictures in the main post....
Chrillzen is offline   Reply With Quote
Old 12/05/2015, 04:53 PM   #9
SHoCK44
Little Clucker
 
Join Date: Oct 2012
Posts: 23
Reputation: 2
Default Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD]

Upload your includes, please.
SHoCK44 is offline   Reply With Quote
Old 13/05/2015, 02:52 PM   #10
Chrillzen
High-roller
 
Chrillzen's Avatar
 
Join Date: Jul 2010
Posts: 1,015
Reputation: 110
Default Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD]

Quote:
Originally Posted by SHoCK44 View Post
Upload your includes, please.
I'll add links to them in the main post.
Chrillzen 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] [GM]San Fierro Role-Play (SF-RP) ***8773 Lines*** Version 1.1.0 nate660 Gamemode Scripts 145 22/08/2017 03:24 AM
[GameMode] Role Play [y_cmd] [y_ini] [sscanf2] Boolean Gamemode Scripts 15 23/02/2013 08:21 AM
[GameMode] [Scratch] Jefferson Motel Team DeathMatch V2.0 [zcmd, sscanf, y_ini] Maxandmov Gamemode Scripts 25 19/06/2012 05:04 AM


All times are GMT. The time now is 04:20 PM.


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