SA-MP Forums Archive
[GameMode] LW's Mission type project GM - 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] LW's Mission type project GM (/showthread.php?tid=644205)



LW's Mission type project - H4bdel - 05.11.2017

LW's Mission type project GM
Hey guys, this is a gamemode that I've been working on for almost 2 years, It was originally created as a second server for a SA-MP community but the project didn't work out so I decided to publish it.

The gamemode has a map rotation system, which means the game type changes every X minutes. The server does not restart between the missions, it is designed for 30 players soo make sure you set MAX_PLAYERS to 30 in server.cfg.

There are lots of different types of games; DM/TDM/RACING/BASEJUMPS/PARKOURS/SURVIVAL/COP CHASE/CAPTURE THE FLAG/DERBY/LAST MAN STANDING.

The gamemode has 33 different missions. you can check all the mission/map ID's by doing /maplist [1-2] and /setmap to set any mission/map.
It also has a level and experience system, leveling up will unlock you commands, you can find out more with the command /levels.

There is also a mission voting system for players to vote for the mission they wanna play.

The gamemode uses YSI Y_INI for accounts. Make sure you have it if you wanna modify the gamemode. The gamemode has 37k lines so if you wanna add maps search for "LoadNextMap", "EndMapResults", "EndMap". Modify the variable MaxMapCount to +1, and don't forget to modify OnPlayerDisconnect and OnPlayerConnect and all the other callbacks to make it work. The code is not really hard to understand so it should be easy to edit if you really want to.


Admins commands:

/kick /spec /say /spawnme /ban /unban /idlekick /maprandom /reset /fullexp
/skipmap /setmap /fastergame /slowergame /adminset /killvotecooldown /normalg /easyg /hardg
/goto /gethere /playerinfo /10S /1M /5M /7M /showmapskips /clearmapskips /mapskip [1-5]

How to make yourself admin:

Log in rcon, and do the command /makemeadmin , rejoin and it should work. Use the command /adminset to set any player admin level. He might need to rejoin the server for the admin level to be set.

Some screens:

































Downloads:

.amx :

http://www.mediafire.com/file/3d0fl4bf4fn23cs/LWM.amx

.pwn : (I can't pastebin it because the file is more than 512kb)

http://www.mediafire.com/file/chg62w6bzchydv3/LWM.pwn


Re: LW's Mission type project GM - Ponga - 05.11.2017

Great work dude. Keep it up!


Re: LW's Mission type project GM - DonaldDuck - 05.11.2017

This type of gamemode must be sql. Anyways nice release.


Re: LW's Mission type project GM - darkhunter332 - 05.11.2017

Epic and awesome work, i like the the sky diving mission.


Re: LW's Mission type project GM - Astralis - 05.11.2017

Good work.


Re: LW's Mission type project GM - TomRedlake - 05.11.2017

Well done!


Re: LW's Mission type project GM - Xeon™ - 05.11.2017

Good job!


Re: LW's Mission type project GM - TheMaskedGamer - 06.11.2017

Great job!


Re: LW's Mission type project GM - RallyRally - 07.11.2017

I LOVE IT! IT'S AMAZING!


Re: LW's Mission type project GM - PawnFox - 07.11.2017

Amazing work Habdel, good job. I'm pretty sure you'll see it hosted by someone


Re: LW's Mission type project GM - imperiux - 07.11.2017

Very well made, keep it up.


Re: LW's Mission type project GM - Aylan - 08.11.2017

Looks really nice, good job.