[GameMode] Los Santos PlayGround
#1

Note: this gamemode is mildy unfinished
I wasn't ever going to release this gamemode, but I have just been getting so so bored scripting lately, and recently, I haven't even bothered opening up pawno to edit my gamemode, so I present to you my Los Santos Playground gamemode,this gamemode used sscanf2 so if you don't have that please go download and install it, it also uses my include Easy Make Jobs, you can download it from my signature.
This Gamemode features:

* Dialogue register/login system
Self Explanatory
* Rank System (Players rank up by ammount of time spent on server)
Rank names are:
Rookie
Newbie
Amatuer
Professional
Gun Slinger
Pwner
Legend
The Boss
Godfather
The king
Each rank comes with spawn weapons, to adjust the ammount of time needed to level up, find CreateRank and change the third parameter to the ammount wanted, the next 2 parameters are spawn weapon and spawn ammo.

* Huge admin system (including special 'Owner Level' with bonus features)
I'm not sure how many commands there are for the admins but they are viewable through the command /admincmds

* Owner has additional commands unavailable to regular admins
Like /restart which restarts the server, pretty much just basic server adjusting commands available for rcon users

* Bank system
Players can withdraw and deposit money into a bank, you must be at a 24/7 (noted with a dollar sign icon $)

* Textdraw Vote-kick system
If there is more then 3 people online, players can votekick another player, there needs to be more then half the ammount of online players to vote for the votekick to be succesfull.

* Complete dialogue command list
Very clean and organised command list, /cmds displays the commands in an organised fashion from the main categories of commands, and /admincmds lists all the admin commands arranged from level.

* Property system (100+ properties)
Add a property by using the CreateProperty function located in the script.

* Tax system
Players will be charged 1/8th of there money every 3 minutes, they only get charged if they have more then $100, Banked money does not deducted for tax.

* Jobs (Police, Criminal, Whore, Rapist) *Unfinished*
I have finished the Police commands and the criminal commands but the whore and rapist commands have not been created yet, the levels of the jobs are:
Police : 10 Levels
Criminal : 10 Levels
Rapist : 2 Levels
Whore : 5 Levels
The police and criminal levels come with new commands, the steal command for the criminal gives you a higher ammount of money for each level gained.
The police rank up by the ammount of people they arrest, to arrest a player type /arrest and the player needs to be wanted, a player gets wanted by killing somone or robbing somone.
The criminals rank up by the ammount of money they steal overall, there is a 10 second timer between steals so a criminal cannot continuously spam the steal function.

* 2 Deathmatch mini games (Minigun, Rocket Launcher)
Self explanatory.

* Anti spam / Anti ping
Self explanatory.

* Money anti cheat
When a player hacks money their money gets reset back to what it was before they cheated themselves cash, it also alerts the online admins that a player is suspicious of money hacking.

* 2 stunt areas
Self explanatory.

* Chat Logs
Player chat and the below logs get saved to a file. (Scriptfiles/NewAdmin/logs).

* Report Logs
Same as above

* Kick Logs
Same as above

* Visible 3D text above property icons
Displaying the name of the property, the cost ammount, the current owner and the earning ammount.

* Num key features (Speed Boost, Car Hop, Repair, Flip Vehicle)
press LMB or right cntrl for a speed boost, Press H or CAPS LOCK for a car hop, press 2 to repair your vehicle and press 0 to flip your vehicle.

* Weapon Menu Including minigun (/wepstore)
type /wepstore for a dialogue weapon menu

Commands:
Please forgive me for this, but im going to just post my entire dcmd thing to explain the commands because i don't have the time to type each individual command, just read what it says between the dcmd( and the cmdtext);
woo for being lazy:
Code:
//property command
	dcmd(buy,3,cmdtext);
	dcmd(sell,4,cmdtext);
	dcmd(disable,7,cmdtext);
	dcmd(enable,6,cmdtext);

	//regular command
	dcmd(wepstore,8,cmdtext);
	dcmd(deposit,7,cmdtext);
	dcmd(withdraw,8,cmdtext);
	dcmd(balance,7,cmdtext);
	dcmd(jobs,4,cmdtext);
	dcmd(quitjob,7,cmdtext);
	dcmd(myjob,5,cmdtext);
	dcmd(jobhelp,7,cmdtext);
	dcmd(bankhelp,8,cmdtext);
	dcmd(savepos,7,cmdtext);
	dcmd(loadpos,7,cmdtext);
	dcmd(admincmds,9,cmdtext);
	dcmd(bounty,6,cmdtext);
	dcmd(tele,4,cmdtext);
	dcmd(suggest,7,cmdtext);
	dcmd(me,2,cmdtext);
	dcmd(flip,4,cmdtext);
	dcmd(fix,3,cmdtext);
	dcmd(skydive,7,cmdtext);
	dcmd(mystats,6,cmdtext);
	dcmd(v,1,cmdtext);
	dcmd(minigun,7,cmdtext);
	dcmd(rocket,6,cmdtext);
	dcmd(leave,5,cmdtext);
	dcmd(cj,2,cmdtext);
	dcmd(buyhealth,9,cmdtext);
	dcmd(buyarmour,9,cmdtext);
	dcmd(cmds,4,cmdtext);
	dcmd(givecash,8,cmdtext);
	dcmd(report,6,cmdtext);
	dcmd(test,4,cmdtext);
	//policecommands
	dcmd(arrest,6,cmdtext);
	dcmd(cuff,4,cmdtext);
	dcmd(ticket,6,cmdtext);
	//criminal commands
	dcmd(steal,5,cmdtext);
	//admin commands
	//level 2
	dcmd(jail,4,cmdtext);
	dcmd(kick,4,cmdtext);
	dcmd(ann,3,cmdtext);
	dcmd(mute,4,cmdtext);
	dcmd(goto,4,cmdtext);
	dcmd(bring,5,cmdtext);
	dcmd(freeze,6,cmdtext);
	dcmd(unfreeze,8,cmdtext);
	//level 3
	dcmd(ban,3,cmdtext);
	dcmd(akill,5,cmdtext);
	dcmd(annoy,5,cmdtext);
	dcmd(annoystop,9,cmdtext);
	dcmd(explode,7,cmdtext);
	//level 4
	dcmd(setarmour,9,cmdtext);
	dcmd(sethealth,9,cmdtext);
	dcmd(giveweapon,10,cmdtext);
	//owner
	dcmd(setlevel,8,cmdtext);
	dcmd(healall,7,cmdtext);
	dcmd(armourall,9,cmdtext);
	dcmd(bringall,8,cmdtext);
	dcmd(killall,7,cmdtext);
	dcmd(restart,7,cmdtext);
	dcmd(setping,7,cmdtext);
	dcmd(antispamon,10,cmdtext);
	dcmd(antispamoff,11,cmdtext);
	dcmd(agivemoney,10,cmdtext);
Making yourself admin/owner
Start the server with this gamemode running
Register an account then leave
Go to the scriptfiles/NewAdmin/Users and click on your name
Edit the Level to level 4 and edit the Owner to 1 ( 0 = not owner, 1 = owner, 2 = nothing)

Download:
2Shared

Installation:
extract the file and put the correct files into the correct locations
edit your server.cfg and add under gamemodes "CoolGamemode".

Notes

I won't be editing this any time soon because I don't think I will be coming back on these forums for a while.

I accept mirrors

You can edit this! !

Enjoy!
Reply
#2

Good work is it your first gamemode if so very neat and professional work...
Reply
#3

Nice work.
Reply
#4

Refuses to run.
Reply
#5

Nice release.

Haven't tested it but the features seems cool. Nice work
Reply
#6

Pretty good i guess
Reply
#7

Nice work, but will be nice if you can convert the commands from DCMD to ZCMD, ya know its faster
Reply
#8

Thanks to everyone,

@Brian_Furious It used to be in ZCMD but I convertered it to DCMD because I couldn't get the OnPlayerCommandText callback to work, anyway I'm not working on it anymore
Reply
#9

Rapist ! With levels ?

What is the world coming to.

Peace...
Reply
#10

Wow Awesome dude!!!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)