SA-MP Forums Archive
[GameMode] [GM] Modern T-DM v1.0 - 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] [GM] Modern T-DM v1.0 (/showthread.php?tid=239265)

Pages: 1 2


[GM] Modern T-DM v1.2 - Soumi - 13.03.2011

Modern Team Death Match

By Soumi

Note : Planning to move the Hole script to Los Santos.
Information :
Teams :
Police :
Color : Blue
Weapons : Nite Stick // AK47 // 9mm
Hobos :
Color : Brown
Weapons : Shovel // Silenced 9mm // M4
Grove Street :
Color : Green
Weapons : Baseball Bat // Sawn-off Shotgun // AK47
The Mafia :
Color : Red
Weapons : Brass Knuckles // MP5 // Shotgun

Teams spawn are represented in Pickups with 3D Text (Example Police Spawn)



Ammo-Nation System :
[SIZE="3"]The Ammo-Nation is located in one of the rooms of the Maddog Mansion , type /enter at the pickup near the door and you'll find your self at the Ammo-nation , then you can type /buygun and a Menu will be showing it will make you able to select a weapon.
Don't forget to /exit to get back to the Death match Area.

[URL=/imageshack/i/samp053a.png/]


Drug System :
The drug Point is hidden in the Death Match area , It is a pickup that has 3D Text on it , if you find it , type /buydrug and a Dialog will be showing , you will be able to select one of three types of drug , Pot ($250) will give you +20 Health , Crack ($350) will give you +20 Armour and Meth ($500) will give you +20 Health and Armour.



Objects :
Thanks to cloudsky for making adding these awesome objects , Now Maddog Mansion looks like a Real Team Death Match Area.

Commands :
General Commands :
/help , /rules , /cmds , /enter , /exit , /kill , /stats.
Ammo-Nation Commands :
/buygun
Drug Commands :
/buydrug


Afk System :
When player types /goafk , He'll be TPed out of Maddog house and he won't be able to move , also his color will change to black and he won't be able to talk. and when he types /back , He'll re-spawn and he can move again , his color will be set as the Team color and He'll be able to chat with other Players.
v1.1 : Player will be kicked from the server if he stays afk for more than 15Minutes.







This AFK system is made by Me.



Admin Commands :


#Text : Admin chat

1- Junior Admin (Level 1) :
/kick [ID] [Reason] : to kick a player.
/ban [ID] [Reason] : to ban a player.
/jail [ID] [Reason : to jail a player (Target id will be TPed to the cells and his weapons will be reseted)
/unjail [ID] : to unjail a player (Target id will re-spawn)
/getstats [ID] : To see the stats of a player.
/spec [ID] : to spec a player.
/stopspec : to stop specing someone.
* Soumi slaps [ID] : to slap somebody. around a bit with a large trout.

2- General Admin (Level 2) :
/freeze [ID] : to freeze a player.
/unfreeze [ID] : to unfreeze a player.
/mute [ID] : to mute a player.
/unmute [ID] : to unmute a player.
/asay1 or /asay2 [Text] : To announce something to all the players. (1 = ClientMessageToAll , 2 = GameTextForAll)
/akill [ID] : to kill a player.
/aspawn [ID] : To make a player spawn.
/countdown : To Make a countdown.
/cc : To clear the chat.
/payday [Money] : to sent all the players Money.
/gethere [ID] : to Teleport a player to you.
/nochat : to disable/enable the Chat

3- Senior Admin (Level 3)
/goto [ID] : to Teleport to a player.
/setscore [ID] [Score] : to set a player's Score.
/setmoney [ID] [Money] : to set a player's money.
/sethp [ID] [Health] : to set a player's Health.
/setarmour [ID] [Armour] : to set a player's armour.
/takeweapon [ID] : to take all the weapons of a player.
/giveweapon [ID] [Weapon] [Ammo] : To give somebody a weapon (weapons ID's from 1 to 46 and Max ammo is 10000)

4- Co-Owner(Level 999/Owner(Level 9999) :
/makeadmin [ID] [Admin Level] : to make someone else an admin.
/setrank [ID] [Team Rank] : To set a the player team rank (Team ranks will be very useful in the next version when i will move the hole script to Los Santos)
/gmx : To restart the server.


Register/Login System :

Well , i made a simple Register/Login system that saves Money, Level, Wanted level , Admin level , Team rank etc using dini and dudb.



Credits :
Cloudysky (mapping)
and the SA-MP team of course.
DracoBlue for Dini and Dudb.


Next Version :

The script will be moved inside Los Santos , i will be adding More teams and making their HQ interior + cars etc... Also i will start working on Points system and add more admin commands.


Download :

V1.2
Megaupload :
.pwn file :
Click me
.amx file :
Click me
Pastebin :



Enjoy !



Re: [GM] Modern T-DM v1.0 - ...:Lucian:... - 13.03.2011

nice job 4/5 good work


Re : [GM] Modern T-DM v1.0 - Soumi - 13.03.2011

Thanks man !! It's my first GameMode..


Re: [GM] Modern T-DM v1.0 - wheelman_WM - 13.03.2011

cool gud word dude


Re: [GM] Modern T-DM v1.0 - BASITJALIL - 13.03.2011

Look nice


Re: [GM] Modern T-DM v1.0 - HyperZ - 13.03.2011

Good job.


Re : [GM] Modern T-DM v1.0 - Soumi - 13.03.2011

Thanks Guys !! If you found any bugs , please let me know


Re: [GM] Modern T-DM v1.0 - k@lu - 13.03.2011

This is nice


Re : [GM] Modern T-DM v1.0 - Soumi - 13.03.2011

UPDATE : i Made an afk system , hope you like it !!


Re: [GM] Modern T-DM v1.0 - xRk - 13.03.2011

Great work Soumi


Re : [GM] Modern T-DM v1.0 - Soumi - 13.03.2011

Thanks [Alpha] !!


Re: [GM] Modern T-DM v1.0 - Kitten - 13.03.2011

Great Gamemode.


Re: [GM] Modern T-DM v1.0 - ShOoBy - 13.03.2011

soo cool....great work budy


Re : [GM] Modern T-DM v1.0 - Soumi - 13.03.2011

Thanks again , i'll update it ASAP


Re: [GM] Modern T-DM v1.0 - flashhhh - 15.03.2011

22 errors found !!!! in ur pwn file plz do smthin about it !!!!


Re : [GM] Modern T-DM v1.0 - Soumi - 15.03.2011

What? are you sure man? , can you reply and put these errors?
Well , it is working fine for me


Re: [GM] Modern T-DM v1.0 - PhotoMuffin - 15.03.2011

5/5 OMFG I like it! Can I edit it to you a part in my server? I will give credits. :S


Re: [GM] Modern T-DM v1.0 - flashhhh - 16.03.2011

followin are the errors below i found while compilin ur gm gain withe changed credits !!!


C:\Users\SID\Desktop\mtdm.pwn(106) : error 017: undefined symbol "Create3DTextLabel"
C:\Users\SID\Desktop\mtdm.pwn(10 : error 017: undefined symbol "Create3DTextLabel"
C:\Users\SID\Desktop\mtdm.pwn(110) : error 017: undefined symbol "Create3DTextLabel"
C:\Users\SID\Desktop\mtdm.pwn(112) : error 017: undefined symbol "Create3DTextLabel"
C:\Users\SID\Desktop\mtdm.pwn(117) : error 017: undefined symbol "Create3DTextLabel"
C:\Users\SID\Desktop\mtdm.pwn(119) : error 017: undefined symbol "Create3DTextLabel"
C:\Users\SID\Desktop\mtdm.pwn(289) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(290) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(291) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(292) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(293) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(294) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(295) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(296) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(297) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(29 : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(299) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(300) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(36 : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\SID\Desktop\mtdm.pwn(381) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\SID\Desktop\mtdm.pwn(457) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\SID\Desktop\mtdm.pwn(460) : error 017: undefined symbol "ShowPlayerDialog"
C:\Users\SID\Desktop\mtdm.pwn(631) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


22 Errors.



hope u can fix those errors asap !!!


Re : Re: [GM] Modern T-DM v1.0 - Soumi - 16.03.2011

Quote:
Originally Posted by PhotoMuffin
Посмотреть сообщение
5/5 OMFG I like it! Can I edit it to you a part in my server? I will give credits. :S
Woah ! Thanks man Yeah , sure you can whatever you want with , that's why i made it !! Just remember to ENJOY !!


Re : Re: [GM] Modern T-DM v1.0 - Soumi - 16.03.2011

Quote:
Originally Posted by flashhhh
Посмотреть сообщение
followin are the errors below i found while compilin ur gm gain withe changed credits !!!


C:\Users\SID\Desktop\mtdm.pwn(106) : error 017: undefined symbol "Create3DTextLabel"
C:\Users\SID\Desktop\mtdm.pwn(10 : error 017: undefined symbol "Create3DTextLabel"
C:\Users\SID\Desktop\mtdm.pwn(110) : error 017: undefined symbol "Create3DTextLabel"
C:\Users\SID\Desktop\mtdm.pwn(112) : error 017: undefined symbol "Create3DTextLabel"
C:\Users\SID\Desktop\mtdm.pwn(117) : error 017: undefined symbol "Create3DTextLabel"
C:\Users\SID\Desktop\mtdm.pwn(119) : error 017: undefined symbol "Create3DTextLabel"
C:\Users\SID\Desktop\mtdm.pwn(289) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(290) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(291) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(292) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(293) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(294) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(295) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(296) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(297) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(29 : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(299) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(300) : error 017: undefined symbol "SetPlayerSkillLevel"
C:\Users\SID\Desktop\mtdm.pwn(36 : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\SID\Desktop\mtdm.pwn(381) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\SID\Desktop\mtdm.pwn(457) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\SID\Desktop\mtdm.pwn(460) : error 017: undefined symbol "ShowPlayerDialog"
C:\Users\SID\Desktop\mtdm.pwn(631) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


22 Errors.



hope u can fix those errors asap !!!

Maybe you removed something while you were changing the Credits? be careful when you remove/add something...