SA-MP Forums Archive
[GameMode] Penitentiary Roleplay - 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] Penitentiary Roleplay (/showthread.php?tid=474461)



Penitentiary Roleplay [UPDATED] [350 DOWNLOADS] - $Marco$ - 08.11.2013


*The server in the logo, is no longer active.
This is a Prison Roleplay edit.
Original thread which the Gamemode was taken from:
https://sampforum.blast.hk/showthread.php?tid=461987

Intro:
This is an edit of the Prison Roleplay which i have done and edited myself.
I have improved lots of stuff and made this gamemode almost playable.
There are tons of things i would like to improve in it, but i just don't have the time or the power to do so.

Updates:
Code:
Update Log
Version 0. 1 BETA
• /stats has been fixed. • /ahelp has been added to present you the admin commands depending on your admin level [ Still needs to be written.] • Katana has been removed as a weapon, as its a Non-RP weapon. • /changeclothes has been fixed to charge the proper amount of money. • Login system has been fixed. • New hospital bill and hospital spawn has been made, improved text and visuals. _________________________________________________________________________
Version 0. 1.1 BETA
• Hospital text has been recolored and the bug that the hospital was not taking your drugs and weapons has been fixed. • Prison cells have been blocked from entering becaues of the bug that makes you fall from the sky. • /locker has been changed slightly to maintain some player privacy. _________________________________________________________________________
Version 0. 1.2 BETA
• Donation level and packs has been added, you can now know your donation level when you type /stats. • Admins have commands to increase and decrease donation levels for users. • /stats now will be colored by your donation level, excluding Bronze. Silver in silver and gold in gold. _________________________________________________________________________
Version 0. 1.3 BETA
• Time needed to get a payday increased to 15 mintues (900 seconds). • Major bug that allows people to use admin commands without actually being an admin has been fixed. • You can now send people to Los Santos pershing square. _________________________________________________________________________
Version 0. 1.4 BETA
• Many bug fixes! • Major bug that allowed you to use other admin commands without being an admin has been fixed. _________________________________________________________________________
Version 0. 1.5 BETA
• You are now able to purchase a Colt 45 from the hidden spot if you are a gold donator. • Admin commands have been adjusted to fit the right level. • Some commands have been deleted. • /getweap have been adjusted with new prices and few items have been removed from buying as they are non-realistic to have in prison. • /asetlevel have been added for level 5 admins to set (promote) Helpers/Admins levels for user who already an Admin/Helper. • /aremovelevel have been aded for level 5 admins to remove (demote) Helpers/Admins levels for users who already an Admin/Helper. • /set has been adjusted to fit the correct Admin level. • /hset has been added to allow level 3 Helpers to change few things regarding the users. (Age, Skin etc’.) • /ahelp has been rewritten and has been adjusted to fit the screen properly. • /hhelp has been added for the helpers to see their commands. • Fixed some typos and mistakes in the text’s. _________________________________________________________________________
Version 0. 1.6 BETA
• Added an anti-weapon hack, no more weapon spawning. • Few bug fixed. _________________________________________________________________________
Version 0. 1.7 BETA
• /hfreeze and /hunfreeze has been added for level 3 helpers to freeze and unfreeze users. • Admins and Helpers now have a Forum Name in /helpers and /admins. • Admins and Helpers now have a level and level name in /helpers and /admins. • Level 5 admins can now /setalevel to set a user Forum Name. _________________________________________________________________________
Version 0. 1.8 BETA
• Added a clothes shop in the prison yard. • /changeclothes has changed to /buyclothes. _________________________________________________________________________
Version 0. 1.9 BETA
• /help has been rewritten correctly. • All the help comamnds are now working and present the proper commands. (/cellhelp, /factionhelp and etc’.) • Now you need to wait 40 seconds before you can accept death, and thats to allow other users to RP with you before you disappear. • Death clinic bill has been adjusted to 200$ instead of 50$. • Admin jail has been fixed and completly rewritten. • [MAP] Prison exterior has got some changes to create a much more realistic prison experience. • New commands to help admins. • Few commands have been removed. • Many bug fixes. _________________________________________________________________________
Version 0. 2 BETA
• [MAP] The weapon and drug smuggling area has been changed and added a unique place to get it. • [MAP] Added a 24/7 store near the clothing shop. • Some typos has been fixed and some textes have been rewritten. • Some bug fixes. _________________________________________________________________________
Version 0. 2.1 BETA
• Food Supplier and Garbage Picker has been disabled from joining as they do not work. • [MAP] Added a new warehouse inside the prison. • [JOB] New job has been added “Warehouse Worker”, job is about running around with boxes and placing them around the warehouse. • Added new commands for the “Warehouse Worker” job. • [JOB] Table Cleaner job paycheck has been lowered to 22$. • Command /stats has been adjusted once again. • /fixplayer now removes the box from the Warehouse and fixes player animation. • /fixjob has been added to fix players job variables, depending on players current job. • Weapons price and cooldown time has been adjusted, as it was really low. • Minor bug fixes.
How to make yourself an admin:
  1. Create an account.
  2. Exit the game.
  3. Go to the game files, Scriptfiles > Accounts > Firstname_Lastname.ini.
  4. Edit the line says "AdminLevel" and set it to 5. (5 is server owner don't go above it.).
  5. Relog back.


How to change your admin name that presented in /admins?
Open the 'PRP.pwn' using a pawno.
Click CTRL+F (Find).
Find "stock GetAname(playerid)"
You will see things like:
if(PlayerStat[playerid][Aname] == 1) AdminName = "Marco";
Edit the 'Marco' to anything you want.
To add more slots just add another line with a new ID (the ID is colored green above).
Make sure there's no two identical ID's.

Known bugs:
Code:
o	Entering a cell teleports you to the sky. (Entering cells has been disabled because of that so all the things you can do within the cell, you can do them now when you stand on the cell icon.)
o	When making a new user and selecting male, it spawns you as female (in /stats)
o	Garbage man job and Food Supplier do not work. (Those jobs are now disabled.)
Downloads:
Version 0.2.2

Older versions:

Verison 0.2.1
Version 0.1.8
Version 0.1.7

_______________________________
PRP Pawno Editor (+includes)

Have fun playing this and testing.
Cheers, Xsyiaris.