[GameMode] Team Deathmatch by GoldenLion
#1

Team Deathmatch
by GoldenLion
I started working on this gamemode about 3 months ago when and 1 month later I stopped working on it and it was just laying around for 2 months and I was not even planning to make a server so today I decided to release it as I got nothing to do with it and someone might like it. Please don't remove the credits.

Features
- two teams: blue and red
- server-sided health and armor (that also means there's custom death)
- ranks and experience
- classes for each rank
- helmet and sniper headshot system
- armory for each team at their base
- cookie system and cookie shop (/cookieshop)
- many cars around the teams' bases (vehicles with weapons require certain amount of score)
- killing sprees
- admin system
- donator system (actually just one command: /setbarcolor which allows you to change the color of health and armor bars)
- simple event system
- simple ban system
- simple anti-cheat (anti money cheat, anti weapon cheat, anti jetpack cheat and of course health and armor cheats are not going to work because health and armor is serversided)
- time changing based on the real time

Screenshots
- http://imgur.com/a/Q00aO

Download
- http://www.mediafire.com/file/33d9k1777pbj1ts/TDM.pwn

Includes & Plugins
- sscanf2
- YSI 4 (for y_ini and y_iterate)
- zcmd
- Progress Bars v2

Credits
- SA-MP team for SA-MP (obviously :P)
- GoldenLion (me) for the gamemode
- ******, Emmet_ and maddinat0r for sscanf2
- ****** and Misiur for YSI 4
- Zeex for zcmd
- Southclaw for Progress Bars v2 (v1 by Toribio)
- Kush for the account saving system tutorial
- Slice for the idea of serversided health and armor from weapon-config (also I learned that 8000000 health/armor makes the health/armor bar look normal for other players from his include).
Reply
#2

Nice Work ! +rep
Reply
#3

Do more effort on the event system would be better.
Reply
#4

Quote:
Originally Posted by adrianlouise
View Post
Nice Work ! +rep
Thank you.

Quote:
Originally Posted by justice96
View Post
Do more effort on the event system would be better.
As I said I'm not working on this gamemode anymore and I released it because I don't want it to just lay around and have no use. Also the event system has kind of everything that an event system needs (you can create/destroy an event, open/close it, start/stop it, set the spawn position, toggle respawning, set the weapons, health and armor.
Reply
#5

Nice Work GoldenLion Seems cool Thanks bro for sharing it.
Reply
#6

Good job
Reply
#7

Quote:
Originally Posted by RyderX
View Post
Nice Work GoldenLion Seems cool Thanks bro for sharing it.
Quote:
Originally Posted by Slawiii
View Post
Good job
Thanks. :P
Reply
#8

Sorry for bump but i need help in this!

Quote:

F:\MY SAMP WORK\TDM ULTA H\gamemodes\TDM (1).pwn(220) : error 017: undefined symbol "foreach"
F:\MY SAMP WORK\TDM ULTA H\gamemodes\TDM (1).pwn(220) : error 029: invalid expression, assumed zero
F:\MY SAMP WORK\TDM ULTA H\gamemodes\TDM (1).pwn(220) : error 017: undefined symbol "i"
F:\MY SAMP WORK\TDM ULTA H\gamemodes\TDM (1).pwn(220) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Reply
#9

Quote:
Originally Posted by StevenLV
View Post
Sorry for bump but i need help in this!
#include <foreach>
Reply
#10

That didnt worked
Reply
#11

Quote:
Originally Posted by StevenLV
Посмотреть сообщение
That didnt worked
You might don't have foreach.inc
Show us the code.
Reply
#12

i have the foreach.inc
and code is same i didnt modify
Reply
#13

Quote:
Originally Posted by StevenLV
Посмотреть сообщение
i have the foreach.inc
and code is same i didnt modify
Let me see post them....
like the person said.

You need to do this:

Код:
#include <foreach>
Reply
#14

That isnnt working, getting the same error
Reply
#15

Quote:
Originally Posted by StevenLV
Посмотреть сообщение
That isnnt working, getting the same error
Then how can we help if you don't post the code?
Reply
#16

after i include foreach

F:\MY SAMP WORK\TDM ULTA H\gamemodes\TDM (1).pwn(221) : error 017: undefined symbol "foreach"
F:\MY SAMP WORK\TDM ULTA H\gamemodes\TDM (1).pwn(221) : error 029: invalid expression, assumed zero
F:\MY SAMP WORK\TDM ULTA H\gamemodes\TDM (1).pwn(221) : error 017: undefined symbol "i"
F:\MY SAMP WORK\TDM ULTA H\gamemodes\TDM (1).pwn(221) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#17

cool
Reply
#18

Quote:
Originally Posted by Shadow0707
Посмотреть сообщение
#include <foreach>
y_iterate is already included in the script.
Quote:
Originally Posted by StevenLV
Посмотреть сообщение
after i include foreach

F:\MY SAMP WORK\TDM ULTA H\gamemodes\TDM (1).pwn(221) : error 017: undefined symbol "foreach"
F:\MY SAMP WORK\TDM ULTA H\gamemodes\TDM (1).pwn(221) : error 029: invalid expression, assumed zero
F:\MY SAMP WORK\TDM ULTA H\gamemodes\TDM (1).pwn(221) : error 017: undefined symbol "i"
F:\MY SAMP WORK\TDM ULTA H\gamemodes\TDM (1).pwn(221) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Just get YSI 4 you don't need to include anything yourself.
Reply
#19

Bugs when I restart server so it's reset all stats + set rank 0 so we cannot spawn

+REP for my Helper when I get 50 posts.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)