[GameMode] Team Deathmatch Base
#1

Team Deathmatch Base

A y_ini based team deathmatch base, using y_commands and y_classes. This is a very basic gamemode that will allow you to turn it into your own and add your own touch to it. It has 9 teams, each team is easily editable.
Useful functions:
SendTeamMessage(playerid, teamid, string[])
ResetPlayerTeam(playerid, team)
SendErrorMessage(playerid, string[])
GetTeamName(teamid)
returnPlayerName(playerid)
SendAdminMessage(string[])
SendNoticeMessage(playerid, string[])
SendSyntaxMessage(playerid, string[])


It also has a team chat system (/t), the regular chat system is set to a radius of 12, and also features an accent system (/accent), just to add a different touch to it. It then has a global chat channel (/ooc) which administrators can toggle. Once a player selects a team and registers their account, they can only change teams by registering a new account or asking an administrator to change their team. Also please note that an introduction says that players can change skins in their teams headquarters, this was planned to script however I've decided to leave it up to you.

Administrator commands:
/mute
/setteam
/togooc
/makeadmin

Teams:
Код:
stock GetTeamName(teamid)
{
	new name[64];
	switch(teamid)
	{
	    case 1: { name = "Grove St. Families"; }
	    case 2: { name = "Glen Park Ballas"; }
	    case 3: { name = "Los Aztecas"; }
	    case 4: { name = "Los Santos Vagos"; }
	    case 5: { name = "Da Nang Boys"; }
	    case 6: { name = "Los Santos Rifas"; }
	    case 7: { name = "Hells Angels"; }
	    case 8: { name = "Russian Mafia"; }
	    case 9: { name = "Los Santos Police Department"; }
	}
	return name;
}
Download link: http://jmp.sh/eYyHQW6
Mirrors welcome

Please note:
Do not ask me to script more or add things, I will only fix bugs/errors/issues. I don't care if you think this is to plain, or not enough for a gamemode, it's a starter for anyone looking for a starter. The reason I used y_ini was because the original reason I created this gamemode was a request from someone to do it for them. I plan to develop a similar gamemode with mysql in the near future.
Reply


Messages In This Thread
Team Deathmatch Base - by Jack_Leslie - 15.09.2016, 10:00
Re: Team Deathmatch Base - by Xicor - 15.09.2016, 10:07
Re: Team Deathmatch Base - by Uvais - 15.09.2016, 10:11
Re: Team Deathmatch Base - by markparker12 - 15.09.2016, 13:11
Re: Team Deathmatch Base - by Infinity - 15.09.2016, 13:59
Re: Team Deathmatch Base - by Jack_Leslie - 16.09.2016, 00:17
Re: Team Deathmatch Base - by MafiaOink - 17.09.2016, 08:05
Re: Team Deathmatch Base - by Jack_Leslie - 17.09.2016, 11:08
Re: Team Deathmatch Base - by JakeXxX - 17.09.2016, 19:07
Re: Team Deathmatch Base - by Ultraz - 18.09.2016, 22:00

Forum Jump:


Users browsing this thread: 2 Guest(s)