SA-MP Forums Archive
[GameMode] Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - 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] Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] (/showthread.php?tid=573694)

Pages: 1 2 3 4 5


Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - Chrillzen - 09.05.2015



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!












pawn 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 /®adio /revokelicense /vmdc");
        SCM(playerid, COLOR_WHITE, "[POLICE:] /spike /removespike /removeroadblock /roadblock /ticket /takegunrights /mdc /suspect");
    }
    return 1;
}
pawn 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 https://sampforum.blast.hk/showthread.php?tid=91354
Y_INI http://www.y-less.com/list.php?id=4
ELC_AC_BASE https://sampforum.blast.hk/showthread.php?tid=218139
FloodControl https://sampforum.blast.hk/showthread.php?tid=320649
mSelection https://sampforum.blast.hk/showthread.php?tid=407045
fader https://sampforum.blast.hk/showthread.php?tid=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.


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - SpikY_ - 09.05.2015

Screenshots?
Seems good


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - DevinPatino - 09.05.2015

Add more commands maybe? Also add some screenshots for more feedback can't really judge without no screenshots or video of some sort.


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - ChroMer - 09.05.2015

it is really cool, basic and very good for a roleplay server
some mapping would be really nice
9/10


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - Alex Magaсa - 09.05.2015

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?


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - JJohnson1 - 09.05.2015

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.


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - hamzajaved780 - 09.05.2015

Good job


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - Chrillzen - 09.05.2015

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


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - SHoCK44 - 12.05.2015

Upload your includes, please.


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - Chrillzen - 13.05.2015

Quote:
Originally Posted by SHoCK44
View Post
Upload your includes, please.
I'll add links to them in the main post.


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - X337 - 13.05.2015

Good job mate


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - iAnonymous - 14.05.2015

Its really a neat one yet some of the codes could have been optimized upto an extent but overall, Good Job.


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - 036 - 14.05.2015

Good job pal!


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - Darxeve - 14.05.2015

Please someony upload all package, i dont know how to get this up


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - yeehao98 - 14.05.2015

This is useful for beginner


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - Chrillzen - 14.05.2015

Quote:
Originally Posted by iAnonymous
Посмотреть сообщение
Its really a neat one yet some of the codes could have been optimized upto an extent but overall, Good Job.
Yep, that's true. A part of this was a big learning curve for me and also I was lazy and didn't really care.


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - FernandoLight - 16.05.2015

Really good man, nice effort!


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - Chrillzen - 14.06.2015

I have updated the thread and I have also uploaded a first hotfix.


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - fonia5 - 15.06.2015

Really neat coding, very useful for people like myself.


Re: Scratch Role Play Gamemode! [25,000 lines] [Y_INI] [ZCMD] - silentl747 - 15.06.2015

i want it's house and biz system only