[GameMode] My 1st [TDM] GM
#1

Hi,

Well this is my first gm so it's not unique it's just a Begginer Script.

ok Well let's start to tell about my gm

the game mode is located in a ship

CLASS

*Army
*Taliban
*Terrorist

RANKS

*Soldier
*Master
*S.W.A.T

COMMANDS

*/kill
*/reclass
*/credits
*/cmds(/commands)
*/rules
*/weapon
*/pm

THERE'S NO ADMIN CMD

MORE INFORMATION

*Anti-SpawnKill
*Capture Zone

INCLUDES

*ZCMD
*SSCANF
*STREAMER
*A_SAMP

CREDITS

To me <For Making the gm>

DOWNLOAD/CODE

Patebin Download

Code:
#include <a_samp>
#include <zcmd>
#include <sscanf>
#include <streamer>




#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" My First GM TDM Ship by Meow22");
         ("----------------------------------------\n");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

#else

main()
{
	print("\n----------------------------------");
	print(" By Meow22");
	print("----------------------------------\n");
}

#endif


//Define Team

#define ARMY 0
#define TALIBAN 1
#define TERROR 2
#define NONE 3

//define color
#define BLUE 0xFF0000FF
#define COLOR_RED 0xFF0000
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_BRIGHTRED 0xFF0000AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_BLUE 0x3A47DEFF
#define COLOR_TAN 0xBDB76BAA
#define COLOR_PURPLE 0x800080AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_INDIGO 0x4B00B0AA
#define COLOR_BLACK 0x00000000
#define COLOR_DARKGREY 0x696969FF
#define BLUE 0xFF0000FF
#define DIALOG_WEAPON 999
#define CLASS_DIALOG 333
#define ARMY_COLOR 0xFF0000FF
#define COPS_COLOR 0xFF0000AA

//define Dialog Class
#define DIALOG_CLASS 0

//define Dialog event
#define DIALOG_EVENT 1


//define Class
#define SOLDIER 0
#define MASTER 1
#define S.W.A.T 2

//define Capture zone stuff
#define ship 0
#define oilfield 1

#define DIALOG_BRIEFCASE 0


#define DIALOG_RULES 0

new gTeam[MAX_PLAYERS];
new gPlayerClass[MAX_PLAYERS];
new spkilltimer[MAX_PLAYERS];





//variable about gangzone stuff
new CP[30];
new Zone[30];
new tCheck[30];
new UnderAttack[30];
new timer[MAX_PLAYERS][30];
new Text:txt;










//forward
forward antispawnkill(playerid);

//forward gangzone stuff
forward OnPlayerEnterDynamicCP(playerid, checkpointid);
forward OnPlayerLeaveDynamicCP(playerid, checkpointid);
forward setship(playerid);
forward SetShipZone(playerid);
forward setoil(playerid);
forward SetOilZone(playerid);

new WeapPickup;
new WeapPickup1;
new WeapPickup2;


public OnGameModeInit()
{
	UsePlayerPedAnims();
	// Don't use these lines if it's a filterscript
	SetGameModeText("Blank Script");
	AddPlayerClass(287,-1249.4420,502.2026,18.2344,84.5558,0,0,0,0,0,0); // usaspawn
	AddPlayerClass(285,-1433.2767,501.1157,3.0391,266.2439,0,0,0,0,0,0); // Taliban
	AddPlayerClass(179,-1372.3248,491.4055,11.1953,277.8139,0,0,0,0,0,0); // terrorist
	CP[ship] = CreateDynamicCP(-1413.4866,509.6247,11.1953, 5, -1, -1, -1, 100.0);
	Zone[ship] = GangZoneCreate(-1466.5249,488.7701,-1247.6600,512.4188);
 	tCheck[ship] = NONE;
	AddStaticVehicleEx(470, -291.1498, 1746.4668, 41.6725, 90.8400, -1, -1, 100);
	AddStaticVehicleEx(470, -291.4161, 1751.6013, 41.6725, 90.8400, -1, -1, 100);
	AddStaticVehicleEx(470, -290.2446, 1742.7028, 41.6725, 90.8400, -1, -1, 100);
	AddStaticVehicleEx(470, -291.0149, 1756.9359, 41.6725, 90.8400, -1, -1, 100);
	AddStaticVehicleEx(487, -309.1792, 1748.3671, 41.7606, -92.4000, -1, -1, 100);
	AddStaticVehicleEx(470, -866.4495, 1563.4377, 23.5002, -87.6600, -1, -1, 100);
	AddStaticVehicleEx(470, -866.3494, 1560.5370, 23.5002, -87.6600, -1, -1, 100);
	AddStaticVehicleEx(470, -866.3494, 1560.5370, 23.5002, -87.6600, -1, -1, 100);
	AddStaticVehicleEx(470, -866.0328, 1557.4291, 23.5002, -87.6600, -1, -1, 100);
	AddStaticVehicleEx(487, -828.4357, 1513.0239, 23.9158, 88.7400, -1, -1, 100);
	AddStaticVehicleEx(470, -865.7988, 1554.2491, 23.5002, -87.5400, -1, -1, 100);
	AddStaticVehicleEx(470, -866.0328, 1557.4291, 23.5002, -87.6600, -1, -1, 100);
	AddStaticVehicleEx(470, -865.5135, 1551.0011, 23.5002, -87.5400, -1, -1, 100);
	AddStaticVehicleEx(470, -267.6642, 1545.3312, 74.3470, 134.5199, -1, -1, 100);
	AddStaticVehicleEx(470, -270.0748, 1547.8643, 74.3470, 134.9999, -1, -1, 100);
	AddStaticVehicleEx(470, -267.6642, 1545.3312, 74.3470, 134.5199, -1, -1, 100);
	AddStaticVehicleEx(470, -272.4722, 1550.4127, 74.3470, 135.1199, -1, -1, 100);
	AddStaticVehicleEx(470, -267.6642, 1545.3312, 74.3470, 134.5199, -1, -1, 100);
	AddStaticVehicleEx(470, -270.0748, 1547.8643, 74.3470, 134.9999, -1, -1, 100);
	AddStaticVehicleEx(470, -274.7506, 1552.8842, 74.3470, 135.1199, -1, -1, 100);
	AddStaticVehicleEx(470, -277.4192, 1555.4548, 74.3470, 134.8200, -1, -1, 100);
	AddStaticVehicleEx(470, -279.6150, 1557.9609, 74.3470, 134.8200, -1, -1, 100);
	AddStaticVehicleEx(487, -309.1469, 1572.7068, 75.3567, -135.8400, -1, -1, 100);
	WeapPickup = CreatePickup(356,3,-1293.4385,505.8148,11.1953);
	WeapPickup1 = CreatePickup(353,3,-1290.1959,512.3022,11.1953);
	WeapPickup2 = CreatePickup(342,3,-1293.4119,494.9033,11.1953);
	txt = TextDrawCreate(20.0, 430.0, "Ship TDM By Meow22);
    TextDrawFont(txt, 3);
	return 1;
}

public OnGameModeExit()
{
	return 1;
}




public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
	if(checkpointid == CP[ship])
	{
	    new str[128];
	    new id;
	    new Name[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, Name, sizeof(Name));
	    format(str, sizeof(str),"%s(ID:%d) is Capturing the Ship Now!!",Name,id);
	    if(gPlayerClass[playerid] == SOLDIER && MASTER)return SendClientMessage(playerid, COLOR_RED, "Only capturer who able to capture the zone");
	    if(IsPlayerInAnyVehicle(playerid))return SendClientMessage(playerid, COLOR_RED, "ERROR:You cant capture while in vehicle");
	    if(tCheck[ship] == gTeam[playerid])return SendClientMessage(playerid, COLOR_RED, "ERROR:This zone already captured by your team");
	    if(UnderAttack[ship] == 1)return SendClientMessage(playerid, COLOR_RED, "Zone is already being taken over");
	    UnderAttack[ship] = 1;
	    timer[playerid][ship] = SetTimerEx("setship",40000,false,"i",playerid);
	    GangZoneFlashForAll(Zone[ship], GetPlayerColor(playerid));
	    GameTextForAll(str,3000,1);
	}
	return 1;
}

public OnPlayerLeaveDynamicCP(playerid, checkpointid)
{
	if(checkpointid == CP[ship])
	{
		UnderAttack[ship] = 0;
		GangZoneStopFlashForAll(Zone[ship]);
		KillTimer(timer[playerid][ship]);
	}
	return 1;
}

public setship(playerid)
{
	new str[128];
	new id;
	new Name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, Name, sizeof(Name));
	format(str, sizeof(str), "%s(ID:%d)has captured The SHIP!!!",Name,id);
	SetPlayerScore(playerid, GetPlayerScore(playerid)+8);
	GivePlayerMoney(playerid, 10000);
	GameTextForAll(str,3000,1);
	SendClientMessage(playerid, COLOR_WHITE,"You have captured the ship.Your duty now is survive from enemy attack and defend the ship!");
	KillTimer(timer[playerid][ship]);
	SetShipZone(playerid);
}

public SetShipZone(playerid)
{
	GangZoneShowForAll(Zone[ship], GetPlayerColor(playerid));
	GangZoneStopFlashForAll(Zone[ship]);
	tCheck[playerid] = gTeam[playerid];
	return 1;
}


public antispawnkill(playerid)
{
	SetPlayerHealth(playerid, 100);
	SetPlayerArmour(playerid, 100);
	KillTimer(spkilltimer[playerid]);
	SendClientMessage(playerid, COLOR_YELLOW, "INFO:Anti Spawn Kill is off now");
	TogglePlayerControllable(playerid, 1);
	return 1;
}


public OnPlayerRequestClass(playerid, classid)
{
	PlayerPlaySound(playerid,1185,-1249.4420,502.2026,18.2344);
	SetPlayerPos(playerid, -1330.3350,512.8530,18.2363);
	SetPlayerCameraPos(playerid, -1335.2872,507.7661,18.2344);
	SetPlayerCameraLookAt(playerid, -1330.3350,512.8530,18.2363);
	SetPlayerFacingAngle(playerid,176.7204);
	SetPlayerTeamFromClass(playerid, classid);
	return 1;
}

public OnPlayerConnect(playerid)
{
	new str[128];
	new Name[MAX_PLAYER_NAME];
	new ID;
	GetPlayerName(playerid, Name, sizeof(Name));
	format(str,sizeof(str),"%s(ID:%d)Has joined",Name,ID);
	SendClientMessageToAll(COLOR_ORANGE,str);
	TextDrawShowForPlayer(playerid,txt);
	return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    new str[128];
	new Name[MAX_PLAYER_NAME];
	new ID;
	GetPlayerName(playerid, Name, sizeof(Name));
	format(str,sizeof(str),"%s(ID:%d)Has left",Name,ID);
	SendClientMessageToAll(COLOR_BLUE,str);
	return 1;
}

public OnPlayerSpawn(playerid)
{
 	if(gPlayerClass[playerid] == SOLDIER)
	{
	    ResetPlayerWeapons(playerid);
	    GivePlayerWeapon(playerid, 27, 390);
	    GivePlayerWeapon(playerid, 31, 390);
	    GivePlayerWeapon(playerid, 24, 270);
	}

    if(gPlayerClass[playerid] == MASTER)
	{
	    ResetPlayerWeapons(playerid);
	    GivePlayerWeapon(playerid, 34, 100);
	    GivePlayerWeapon(playerid, 24, 270);
	    GivePlayerWeapon(playerid, 25, 390);
	}

    if(gPlayerClass[playerid] == S.W.A.T)
	{
	    ResetPlayerWeapons(playerid);
	    GivePlayerWeapon(playerid, 35, cellmax);
   		GivePlayerWeapon(playerid, 16, cellmax);
   		GivePlayerWeapon(playerid, 27, 390);
   		GivePlayerWeapon(playerid, 34, 100);
   		GivePlayerWeapon(playerid, 24, 270);
	}

	SetPlayerHealth(playerid, 9999999999999999);
	SetPlayerArmour(playerid,99999999999);
	SendClientMessage(playerid, COLOR_YELLOW, "INFO:[Anti-Spawnkill] Protection");
	spkilltimer[playerid] = SetTimerEx("antispawnkill",5000,false,"i",playerid);
	TogglePlayerControllable(playerid, 0);
	PlayerPlaySound(playerid, 1057,-1249.4420,502.2026,18.2344);
	SetPlayerToTeamColor(playerid);
	TextDrawShowForPlayer(playerid,txt);
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
	new str[128];
	new str2[128];
	SendDeathMessage(killerid, playerid, reason);
	GivePlayerMoney(playerid, -2000);
	new Name[MAX_PLAYER_NAME];
	new Name2[MAX_PLAYER_NAME];
	GetPlayerName(playerid,Name,sizeof(Name));
	GetPlayerName(killerid,Name2,sizeof(Name2));
	format(str,sizeof(str),"You Got Killed By %s(ID:%d)",Name2,killerid);
	format(str2,sizeof(str2),"You Have Killed %s(ID:%d)",Name,playerid);
	SendClientMessage(playerid,COLOR_BRIGHTRED,str);
	SendClientMessage(playerid, COLOR_GREEN, str2);
	GivePlayerMoney(killerid, 3500);
	SetPlayerScore(killerid,GetPlayerScore(killerid)+3);
	return 1;
}

public OnVehicleSpawn(vehicleid)
{
	return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
	return 1;
}

public OnPlayerText(playerid, text[])
{
    if(text[0] == '!') // !TEXT private gang.
    {
        for(new i; i < MAX_PLAYERS; i++)
        {
            if(gTeam[playerid] == gTeam[i])
            {
                new string[140];
                new Name[MAX_PLAYER_NAME];
                new pID;
				GetPlayerName(playerid, Name, sizeof(Name));
                format(string,sizeof(string),"[Team chat] (%s)(ID:%d) said : %s", Name,pID,text[1]);
                SendClientMessage(i,0x7fff00FF,string);
            }
        }
        return 0;
    }
	return 1;
}




public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/mycommand", cmdtext, true, 10) == 0)
	{
		// Do something here
		return 1;
	}
	return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
	return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
	return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
	return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
	return 1;
}

public OnRconCommand(cmd[])
{
	return 1;
}

public OnPlayerRequestSpawn(playerid)
{
    PlayerPlaySound(playerid, 1063,0.0,0.0,0.0);
	ShowPlayerDialog(playerid, DIALOG_CLASS, DIALOG_STYLE_LIST, "{6EF83C}Choose A Class:", "Solider\nMaster\nS.W.A.T", "Choose","");
	return 1;
}

public OnObjectMoved(objectid)
{
	return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
	return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
	if(pickupid == WeapPickup)return GivePlayerWeapon(playerid,31,250);
	if(pickupid == WeapPickup1)return GivePlayerWeapon(playerid, 29, 200);
	if(pickupid == WeapPickup2)return GivePlayerWeapon(playerid,16,5);
	return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
	return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
	return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
	return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
	return 1;
}

public OnPlayerExitedMenu(playerid)
{
	return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
	return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
	return 1;
}

public OnPlayerUpdate(playerid)
{
	return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
	return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
	return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
	return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
	return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == DIALOG_CLASS)
	{
	    if(response == 1)
	    {
	        if(listitem == 0)
	        {
                ShowPlayerDialog(playerid, 11, DIALOG_STYLE_MSGBOX, "{6EF83C}S.W.A.T:", "{F81414}Abilities:\n{FFFFFF}A Solo class, good in infantry attacks.\n\n{F81414}Weapons:\n\n{FFFFFF}M4\n{FFFFFF}Combat Shotgun\n{FFFFFF}Deagle", "Play","");
                gPlayerClass[playerid] = S.W.A.T;
                ResetPlayerWeapons(playerid);
                GivePlayerWeapon(playerid, 27, 390);
	    		GivePlayerWeapon(playerid, 31, 330);
	    		GivePlayerWeapon(playerid, 24, 270);
	    		SendClientMessage(playerid, COLOR_WHITE, "INFO:You Have selected S.W.A.T as your class");
			}

			if(listitem == 1)
			{
			    ShowPlayerDialog(playerid, 11, DIALOG_STYLE_MSGBOX, "{6EF83C}Mater:", "{F81414}Abilities:\n{FFFFFF}A Solo class, Class to capture the zone.\n\n{F81414}Weapons:\n\n{FFFFFF}Sniper\n{FFFFFF}Deagle\n{FFFFFF}MP5", "Play","");
			    gPlayerClass[playerid] = MASTER;
			    ResetPlayerWeapons(playerid);
			    GivePlayerWeapon(playerid, 34, 100);
			    GivePlayerWeapon(playerid, 24, 270);
			    GivePlayerWeapon(playerid, 25, 390);
			    SendClientMessage(playerid, COLOR_WHITE, "INFO:You Have selected Master as your class");
			}

			if(listitem == 2)
			{
			    if(GetPlayerScore(playerid) <450)return ShowPlayerDialog(playerid, DIALOG_CLASS, DIALOG_STYLE_LIST, "{6EF83C}Choose A Class:", "Attacker\nCapturer\nCommander", "Choose","");
			    ResetPlayerWeapons(playerid);
			    GivePlayerWeapon(playerid, 35, cellmax);
	    		GivePlayerWeapon(playerid, 16, cellmax);
	    		GivePlayerWeapon(playerid, 27, 390);
	    		GivePlayerWeapon(playerid, 34, 100);
	    		GivePlayerWeapon(playerid, 24, 270);
	    		gPlayerClass[playerid] = SOLDIER;
	    		ShowPlayerDialog(playerid, 11, DIALOG_STYLE_MSGBOX, "{6EF83C}Soldier:", "{F81414}Abilities:\n{FFFFFF}A Solo class, Class to giving commands to all teams.\n\n{F81414}Weapons:\n\n{FFFFFF}Sniper\n{FFFFFF}Deagle\n{FFFFFF}RPG\n{FFFFFF}Grenade\n{FFFFFF}Combat Shotgun", "Play","");
	    		SendClientMessage(playerid, COLOR_WHITE, "INFO:You Have selected Soldier as your class");
			}
	    }
	    if(!response)return ShowPlayerDialog(playerid, DIALOG_CLASS, DIALOG_STYLE_LIST, "{6EF83C}Choose A Class:", "Attacker\nCapturer\nCommander", "Choose","");
	}



	if(dialogid == DIALOG_SHOP)
	{
		if(response == 1)
		{
		    if(listitem == 0)
		    {
		        if(GetPlayerMoney(playerid) <4000)return SendClientMessage(playerid, COLOR_RED,"You dont have enough money for buy that weapon");
		        GivePlayerWeapon(playerid, 31, 300);
		        GivePlayerMoney(playerid, -4000);
				BuyWeaponMsg(playerid);
		    }

		    if(listitem == 1)
		    {
		        if(GetPlayerMoney(playerid) <2500)return SendClientMessage(playerid, COLOR_RED,"You dont have enough money for buy that weapon");
		        GivePlayerWeapon(playerid, 27,300);
		        GivePlayerMoney(playerid, -2500);
		        BuyWeaponMsg(playerid);
		    }
		    if(listitem == 2)
		    {
		        if(GetPlayerMoney(playerid) <2000)return SendClientMessage(playerid, COLOR_RED,"You dont have enough money for buy that weapon");
		        GivePlayerWeapon(playerid, 34, 100);
		        GivePlayerMoney(playerid, -2000);
		        BuyWeaponMsg(playerid);
		    }
		    if(listitem == 3)
		    {
                if(GetPlayerMoney(playerid) <2000)return SendClientMessage(playerid, COLOR_RED,"You dont have enough money for buy that weapon");
		        GivePlayerWeapon(playerid, 24, 273);
		        GivePlayerMoney(playerid, -2000);
		        BuyWeaponMsg(playerid);
		    }
		}
	}
	return 1;
}

stock BuyWeaponMsg(playerid)
{
	SendClientMessage(playerid, COLOR_WHITE, "You Have bought a weapon");
	return 1;
}


public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
	return 1;
}

SetPlayerTeamFromClass(playerid, classid)
{
	if(classid == 0)
	{
	    gTeam[playerid] = ARMY;
	}

	if(classid == 1)
	{
	    gTeam[playerid] = TALIBAN;
	}

	if(classid == 2)
	{
	    gTeam[playerid] = TERROR;
	}
}

SetPlayerToTeamColor(playerid)
{
	if(gTeam[playerid] == ARMY)
	{
	    SetPlayerColor(playerid, COLOR_GREY);
	}

	if(gTeam[playerid] == TALIBAN)
	{
	    SetPlayerColor(playerid, COLOR_ORANGE);
	}

	if(gTeam[playerid] == TERROR)
	{
	    SetPlayerColor(playerid, COLOR_WHITE);
	}
}






//Commands

CMD:kill(playerid, params[])
{
	SetPlayerHealth(playerid, 0);
	return 1;
}

CMD:reclass(playerid,params[])
{
	ForceClassSelection(playerid);
}


CMD:pm(playerid,params[])
{
	new str[128],str2[128],msg[128],Name1[MAX_PLAYER_NAME],Name2[MAX_PLAYER_NAME],ID;
	GetPlayerName(ID,Name2,sizeof(Name2));
	GetPlayerName(playerid,Name1,sizeof(Name1));
	if(!IsPlayerConnected(ID))return SendClientMessage(playerid, COLOR_WHITE, "Player is not connected");
	if(sscanf(params,"us",ID,msg))return SendClientMessage(playerid, COLOR_WHITE, "Usage /pm id text");
	format(str,sizeof(str),"PM to %s(ID:%d) : %s",Name2,ID,msg);
	format(str2,sizeof(str2),"PM from %s(ID:%d) : %s",Name1,playerid,msg);
	GetPlayerName(playerid, Name1, sizeof(Name1));
	GetPlayerName(ID,Name2,sizeof(Name2));
	SendClientMessage(ID,COLOR_ORANGE,str2);
	SendClientMessage(playerid, COLOR_ORANGE, str);
	return 1;
}

CMD:weapon(playerid, params[])
{
    ShowPlayerDialog(playerid,DIALOG_SHOP,DIALOG_STYLE_LIST,"Shop","M4\nCombat Shotgun\nSniper\ndeagle","Buy","");
	return 1;
}
 CMD:credits(playerid, params[])

{
	SendClientMessage(playerid, COLOR_YELLOW, "[TDM]Ship Credits:");
	SendClientMessage(playerid, COLOR_YELLOW, "[(******|======|******)]");
	SendClientMessage(playerid, COLOR_YELLOW, "scripted by Meow22.");
	SendClientMessage(playerid, COLOR_YELLOW, "=======================");
	return 1;
}


 CMD:commands(playerid, params[])
{

	SendClientMessage(playerid, COLOR_ORANGE, "[TDM]Ship Server Commands:");
	SendClientMessage(playerid, COLOR_ORANGE, "=======================================");
	SendClientMessage(playerid, COLOR_ORANGE, "/reclass | /rules | /kill | /pm");
	SendClientMessage(playerid, COLOR_ORANGE, "/credits  | /commands(/cmds) | /weapon");
	SendClientMessage(playerid, COLOR_ORANGE, "=======================================");
	return 1;

}
 CMD:cmds(playerid, params[])
{

	SendClientMessage(playerid, COLOR_ORANGE, "[TDM]Ship Server Commands:");
	SendClientMessage(playerid, COLOR_ORANGE, "======================================");
	SendClientMessage(playerid, COLOR_ORANGE, "/reclass | /rules | /kill | /pm");
	SendClientMessage(playerid, COLOR_ORANGE, "/credits  | /commands(/cmds)| /weapon");
	SendClientMessage(playerid, COLOR_ORANGE, "======================================");
	return 1;

}
 CMD:rules(playerid, params[])
{

	SendClientMessage(playerid, COLOR_ORANGE, "[TDM]Ship Server Rules:");
	SendClientMessage(playerid, COLOR_ORANGE, "======================================");
	SendClientMessage(playerid, COLOR_ORANGE, "any kind of hacksDo not abuse any bugs.
	SendClientMessage(playerid, COLOR_ORANGE, "Do not flame/provoke anyone.');
	SendClientMessage(playerid, COLOR_ORANGE, "Do not spam or flood.
	SendClientMessage(playerid, COLOR_ORANGE, "Do not ask for money, score, etc...");
	SendClientMessage(playerid, COLOR_ORANGE, "Do not Team Kill");
	SendClientMessage(playerid, COLOR_ORANGE, "======================================");
	return 1;

}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)