#include #include new jailed[MAX_PLAYERS]; #define COLOR_YELLOW 0xFFFF00AA #define RED 0xFF0000AA static gTeam[MAX_PLAYERS]; // Tracks the team assignment for each player public OnFilterScriptInit() #define COLOR_WHITE 0xFFFFFFAA #define COLOR_YELLOW 0xFFFF00AA #define COLOR_GRAD1 0xB4B5B7FF #define COLOR_GRAD2 0xBFC0C2FF #define COLOR_RED 0xDC143C #define COLOR_GREEN 0xDC143C #define COLOR_BLUE 0x0000FFAA #define COLOR_RED1 0xFF0000AA #define TEAM_COP2 1 #define TEAM_BISTRO 2 #define TEAM_TAXI 3 #define TEAM_DISCON 4 #define TEAM_PILOT 5 #define TEAM_DRIVER 6 #define TEAM_DRIVER2 7 #define TEAM_BMT 8 #define TEAM_STUNT 9 { print(" ----------------------------\n"); print("\n----------------------------------"); print(" Buisness/Organization Filterscript By Dragsta!"); print("----------------------------------\n"); print(" ----------------------------\n"); } public OnPlayerConnect(playerid) { SendClientMessage(playerid, COLOR_YELLOW, "This server uses Dragsta's Buisness/Organization Filterscript!!"); jailed[playerid] = 0; return 1; } public OnGameModeExit() { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { new tmp[256]; new name[256]; new string[256]; new sendername[MAX_PLAYER_NAME]; new giveplayer[MAX_PLAYER_NAME]; new cmd[256]; new idx; new giveplayerid; cmd = strtok(cmdtext, idx); //Fisrt the Police Cmds And Pass: if(strcmp(cmd, "/COP1122", true) == 0) { // makes tha players name blue, give you a Deagle and a nightstick SendClientMessage(playerid, COLOR_RED1, "You Are logged into cops!! You have a deagle And A nightstick!!"); SendClientMessage(playerid, COLOR_RED1, "Your Cmd's Are: /pu /jail /unjail, /polheli and /cophq"); SendClientMessage(playerid, COLOR_RED1, "SKINS: /cop1 /cop2 /cop3 /cop4"); gTeam[playerid] = TEAM_COP2; SetPlayerColor(playerid, COLOR_BLUE); SetPlayerPos(playerid, 2295.0293,2459.4961,10.8203); GivePlayerWeapon(playerid, 24, 400); GivePlayerWeapon(playerid, 3, 1); SetPlayerSkin(playerid, 280); return 1; } if(strcmp(cmd, "/fbi1144", true) == 0) { // makes tha players name blue, give you a Deagle and a nightstick SendClientMessage(playerid, COLOR_RED1, "You Are logged into FBI!! You have a deagle And A nightstick!!"); SendClientMessage(playerid, COLOR_RED1, "Your Cmd's Are: /pu /jail /unjail, /fbiheli /fbihq and /nw"); gTeam[playerid] = TEAM_COP2; SetPlayerColor(playerid, COLOR_BLUE); SetPlayerPos(playerid, 2488.86,2397.67,4.21); GivePlayerWeapon(playerid, 24, 40000); GivePlayerWeapon(playerid, 3, 1); SetPlayerSkin(playerid, 165); return 1; } if(strcmp(cmd, "/nw", true) == 0) { if(gTeam[playerid] == TEAM_COP2) { SendClientMessage(playerid, COLOR_RED1, "if you need more weapons type /nw again!!"); GivePlayerWeapon(playerid, 29, 40000); GivePlayerWeapon(playerid, 31, 40000); GivePlayerWeapon(playerid, 26, 40000); GivePlayerWeapon(playerid, 24, 40000); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT official!!"); } return 1; } if(strcmp(cmd, "/ARMY2211", true) == 0) { // makes tha players name blue, give you a Deagle and a nightstick SendClientMessage(playerid, COLOR_RED1, "You Are logged into ARMY!!"); SendClientMessage(playerid, COLOR_RED1, "Your Cmd's Are: /pu /jail /unjail and /armyhq"); gTeam[playerid] = TEAM_COP2; SetPlayerColor(playerid, COLOR_GREEN); SetPlayerPos(playerid, 213.3405,1907.7325,17.6406); SetPlayerSkin(playerid, 287); return 1; } if(strcmp(cmd, "/stunt2211", true) == 0) { // makes tha players name blue, give you a Deagle and a nightstick SendClientMessage(playerid, COLOR_RED1, "You Are logged into Stunt Team!!"); SendClientMessage(playerid, COLOR_RED1, "Your Cmd is: and /stunthq"); gTeam[playerid] = TEAM_STUNT; SetPlayerColor(playerid, COLOR_BLUE); SetPlayerPos(playerid, 1318.25,1261.19,10.82); return 1; } if(strcmp(cmd, "/SWAT2211", true) == 0) { // makes tha players name blue, give you a Deagle and a nightstick SendClientMessage(playerid, COLOR_RED1, "You Are logged into swat!!"); SendClientMessage(playerid, COLOR_RED1, "Your Cmd's Are: /pu /jail /unjail and /swathq"); gTeam[playerid] = TEAM_COP2; SetPlayerColor(playerid, COLOR_BLUE); SetPlayerPos(playerid, -1635.3700,1406.1200,7.1900); SetPlayerSkin(playerid, 164); return 1; } if(strcmp(cmd, "/bmt3311", true) == 0) { // makes tha players name blue, give you a Deagle and a nightstick SendClientMessage(playerid, COLOR_RED1, "You Are logged into booth's medic team!!"); SendClientMessage(playerid, COLOR_RED1, "Your Cmd's Are: /heal /healing /roof /medichq and /mlocation"); gTeam[playerid] = TEAM_BMT; SetPlayerColor(playerid, COLOR_BLUE); SetPlayerPos(playerid, 1606.97,1818.40,10.82); SetPlayerSkin(playerid, 276); return 1; } if(strcmp(cmd, "/polheli", true) == 0) { // goes to the LVPD roof wich is a good place for helis if(gTeam[playerid] == TEAM_COP2) { SetPlayerPos(playerid, 2282.6584,2449.6414,46.9775); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT official Police!!"); } return 1; } if(strcmp(cmd, "/fbiheli", true) == 0) { // goes to the LVPD roof wich is a good place for helis if(gTeam[playerid] == TEAM_COP2) { SetPlayerPos(playerid, 2482.85,2388.32,71.05); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT official FBI!!"); } return 1; } if(strcmp(cmd, "/roof", true) == 0) { // goes to the LVPD roof wich is a good place for helis if(gTeam[playerid] == TEAM_BMT) { SetPlayerPos(playerid, 1606.95,1798.90,30.47); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT official Medic!!"); } return 1; } if(strcmp(cmd, "/cophq", true) == 0) { // teles the cop back to the LVPD spawn! if(gTeam[playerid] == TEAM_COP2) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2295.0293,2459.4961,10.8203); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT an official Cop!!"); } return 1; } if(strcmp(cmd, "/armyhq", true) == 0) { // teles the cop back to the LVPD spawn! if(gTeam[playerid] == TEAM_COP2) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 213.3405,1907.7325,17.6406); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT an official Army!!"); } return 1; } if(strcmp(cmd, "/fbihq", true) == 0) { // teles the cop back to the LVPD spawn! if(gTeam[playerid] == TEAM_COP2) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2488.86,2397.67,4.21); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT an official FBI!!"); } return 1; } if(strcmp(cmd, "/maffiahq", true) == 0) { // teles the cop back to the LVPD spawn! if(gTeam[playerid] == TEAM_BISTRO) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1183.30,-2037.49,69.01); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT an official Maffia!!"); } return 1; } if(strcmp(cmd, "/swathq", true) == 0) { // teles the cop back to the LVPD spawn! if(gTeam[playerid] == TEAM_COP2) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -1635.3700,1406.1200,7.1900); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT an official SWAT!!"); } return 1; } if(strcmp(cmd, "/stunthq", true) == 0) { // teles the cop back to the LVPD spawn! if(gTeam[playerid] == TEAM_STUNT) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1318.25,1261.19,10.82); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT an official Stunt Team!!"); } if(strcmp(cmd, "/taxihq", true) == 0) { // teles the cop back to the LVPD spawn! if(gTeam[playerid] == TEAM_TAXI) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1975.2500,2440.3600,11.1800); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT an official Taxi!!"); } return 1; } if(strcmp(cmd, "/medichq", true) == 0) { // teles the cop back to the LVPD spawn! if(gTeam[playerid] == TEAM_BMT) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1606.97,1818.40,10.82); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT an official Medic!!"); } return 1; } if(strcmp(cmd, "/ah2211", true) == 0) { { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1256.4264,-802.1592,84.1406); } return 1; } if(strcmp(cmd, "/sh1122", true) == 0) { { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -688.0883,946.4894,13.0313); } return 1; } if(strcmp(cmd, "/jail", true) == 0) { // jails a specified player! tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GREEN, "Usage: /jail [Player ID]"); return 1; } giveplayerid = strval(tmp); if (gTeam[playerid] == TEAM_COP2) { if (IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "You have been jailed by %s!", sendername, playerid); SendClientMessage(giveplayerid, COLOR_RED1, string); format(string, sizeof(string), "%s (ID:%d) has been jailed by %s!", giveplayer, giveplayerid, sendername, playerid); SendClientMessageToAll(COLOR_RED1, string); printf(string); SetPlayerInterior(giveplayerid,3); SetPlayerPos(giveplayerid,198.3797,160.8905,1003.0300); SetPlayerFacingAngle(giveplayerid,177.0350); SetCameraBehindPlayer(giveplayerid); PlayerPlaySound(giveplayerid,1082,198.3797,160.8905,1003.0300); TogglePlayerControllable(giveplayerid,0); // so that can't /kill DisablePlayerCheckpoint(giveplayerid); return 1; }else{ format(string, sizeof(string), "id %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_YELLOW, string); } }else{ format(string, sizeof(string), "You Are Not official!!", giveplayerid); SendClientMessage(playerid, COLOR_WHITE, string); } return 1; } if(strcmp(cmd, "/unjail", true) == 0) { //unjails the specified player tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GREEN, "Usage: /jail [Player ID]"); return 1; } giveplayerid = strval(tmp); if (gTeam[playerid] == TEAM_COP2) { if (IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "You have been unjailed by %s (ID:%d)!", sendername, playerid); SendClientMessage(giveplayerid, COLOR_GREEN, string); format(string, sizeof(string), "%s (ID:%d) has been unjailed by %s (ID:%d)", giveplayer, giveplayerid, sendername, playerid); SendClientMessageToAll(COLOR_GREEN, string); printf(string); SetPlayerInterior(giveplayerid,0); SetPlayerFacingAngle(giveplayerid,90.00); SetPlayerPos(giveplayerid,2296.4031,2468.7754,10.8203); SetPlayerFacingAngle(giveplayerid,177.0350); SetCameraBehindPlayer(giveplayerid); TogglePlayerControllable(giveplayerid,1); return 1; }else{ format(string, sizeof(string), "id %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_YELLOW, string); } }else{ format(string, sizeof(string), "You Are not official!!", giveplayerid); SendClientMessage(playerid, COLOR_WHITE, string); } return 1; } if(strcmp(cmd, "/cop1", true) == 0) { //cop skin if (gTeam[playerid] == TEAM_COP2) { SetPlayerSkin(playerid, 280); }else{ SendClientMessage(playerid, COLOR_RED, "You are not official police!!"); } return 1; } if(strcmp(cmd, "/cop2", true) == 0) { //cop skin if (gTeam[playerid] == TEAM_COP2) { SetPlayerSkin(playerid, 284); }else{ SendClientMessage(playerid, COLOR_RED, "You are not official police!!"); } return 1; } if(strcmp(cmd, "/cop3", true) == 0) { //cop skin if (gTeam[playerid] == TEAM_COP2) { SetPlayerSkin(playerid, 281); }else{ SendClientMessage(playerid, COLOR_RED, "You are not official police!!"); } return 1; } if(strcmp(cmd, "/cop4", true) == 0) { //cop skin if (gTeam[playerid] == TEAM_COP2) { SetPlayerSkin(playerid, 282); }else{ SendClientMessage(playerid, COLOR_RED, "You are not official police!!"); } return 1; } if(strcmp(cmd, "/pu", true) == 0) { //Displays the text: "This is the LVPD, Pullover Immedietly" to all players if(gTeam[playerid] == TEAM_COP2) { SendClientMessageToAll(COLOR_BLUE, "Pullover Immediately, or get killed!!"); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT official Police!!"); } return 1; } //Now for the Taxi/limo Service if(strcmp(cmd, "/TAXI3322", true) == 0) { //makes the players name yellow tells people the buisness is open and teles you to the HQ SendClientMessage(playerid, COLOR_RED, "You are logged into The STS service!!"); SetPlayerColor(playerid, COLOR_YELLOW); SendClientMessage(playerid, COLOR_RED, "Your Cmd's Are: /pick-up and /location and /taxihq"); GameTextForAll("The Taxi And Limo Service is open!!",6000,4); SetPlayerPos(playerid, 1975.2500,2440.3600,11.1800); SetPlayerSkin(playerid, 255); gTeam[playerid] = TEAM_TAXI; return 1; } if(strcmp(cmd, "/pick-up", true) == 0) {// Displays the text: "Type /taxi or /limo to be Transported In style!" if (gTeam[playerid] == TEAM_TAXI) { SendClientMessageToAll(COLOR_YELLOW, "Type /taxi or /limo to be Transported In style!"); }else{ SendClientMessage(playerid, COLOR_RED, "You are Not an official Taxi Driver!!"); } return 1; } if(strcmp(cmd, "/healing", true) == 0) {// Displays the text: "Type /taxi or /limo to be Transported In style!" if (gTeam[playerid] == TEAM_BMT) { SendClientMessageToAll(COLOR_YELLOW, "Type /medic to be healed by Our medic team!"); }else{ SendClientMessage(playerid, COLOR_RED, "You are Not an official medic!!"); } return 1; } if(strcmp(cmd, "/location", true) == 0) {// Displays the text: "What Is your current location?" if (gTeam[playerid] == TEAM_TAXI) { SendClientMessageToAll(COLOR_YELLOW, "What Is your current location?"); }else{ SendClientMessage(playerid, COLOR_RED, "You are Not an official Taxi Driver!!"); } return 1; } if(strcmp(cmd, "/taxi", true) == 0) { // says: "[PLAYERID] Needs a taxi" GetPlayerName(playerid,name,sizeof(name)); format(string,sizeof(string),"%s Needs a taxi!!",name); SendClientMessageToAll(COLOR_YELLOW, string); return 1; } if(strcmp(cmd, "/limo", true) == 0) { // says: "[PLAYERID] Needs a Limo" GetPlayerName(playerid,name,sizeof(name)); format(string,sizeof(string),"%s Needs a Limo!!",name); SendClientMessageToAll(COLOR_YELLOW, string); return 1; } if(strcmp(cmd, "/maffia2233", true) == 0) { //doesnt change your name color, teles you to saint marks bistro (liberty city) gTeam[playerid] = TEAM_BISTRO; SetPlayerInterior(playerid, 1); SetPlayerFacingAngle(playerid, 359); SetPlayerPos(playerid, 1183.30,-2037.49,69.01); SendClientMessage(playerid, COLOR_YELLOW, "You have logged into the Maffia!!"); SendClientMessage(playerid, COLOR_YELLOW, "/hostage [playerid] /unhostage [playerid] and /maffiahq"); SetPlayerSkin(playerid, 240); return 1; } if(strcmp(cmd, "/heal", true) == 0) { // Gives a cake to the desired person!(Fills there health!) tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_YELLOW, "Usage: /healt [Player ID]"); return 1; } giveplayerid = strval(tmp); if (IsPlayerConnected(giveplayerid)) { if (gTeam[playerid] == TEAM_BMT) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); SetPlayerHealth(giveplayerid, 100); GivePlayerMoney(playerid, 1000); GivePlayerMoney(giveplayerid, -1000); format(string, sizeof(string), "You have been Health by medic %s ", sendername, playerid); SendClientMessage(giveplayerid, COLOR_YELLOW, string); format(string, sizeof(string), "%s has been given health!!!", giveplayer, giveplayerid, sendername, playerid); SendClientMessageToAll(COLOR_YELLOW, string); printf(string); return 1; }else{ SendClientMessage(playerid, COLOR_RED1, "You Are not official Medic staff!!!"); } }else{ format(string, sizeof(string), "id %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/medic", true) == 0) { // Displays the Text: "[PLAYEID] would like a Cake please!" GetPlayerName(playerid,name,sizeof(name)); format(string,sizeof(string),"%s needs a medic!!!",name); SendClientMessageToAll(COLOR_YELLOW, string); return 1; } if(strcmp(cmd, "/hostage", true) == 0) { // Holds the desired person hostage in the Garden of the bistro tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GREEN, "Usage: /hostage [Player ID]"); return 1; } giveplayerid = strval(tmp); if (gTeam[playerid] == TEAM_BISTRO) { if (IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "You are keeping this person hostage: %s (ID:%d)", giveplayer, giveplayerid); SendClientMessage(playerid, COLOR_GREEN, string); format(string, sizeof(string), "You are being held hostage by %s (ID:%d)!", sendername, playerid); SendClientMessage(giveplayerid, COLOR_RED1, string); format(string, sizeof(string), "%s (ID:%d) is being held hostage by %s (ID:%d)", giveplayer, giveplayerid, sendername, playerid); SendClientMessageToAll(COLOR_GREEN, string); printf(string); SetPlayerInterior(giveplayerid,1); SetPlayerPos(giveplayerid,1183.30,-2017.49,69.01); SetPlayerFacingAngle(giveplayerid,177.0350); SetCameraBehindPlayer(giveplayerid); PlayerPlaySound(giveplayerid,1082,198.3797,160.8905,1003.0300); TogglePlayerControllable(giveplayerid,0); // sp that can't /kill DisablePlayerCheckpoint(giveplayerid); return 1; }else{ format(string, sizeof(string), "id %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_YELLOW, string); } }else{ format(string, sizeof(string), "You Are Not official maffia ~~staff!!!", giveplayerid); SendClientMessage(playerid, COLOR_WHITE, string); } return 1; } if(strcmp(cmd, "/unhostage", true) == 0) { //Releases the person from being held hostage!! tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GREEN, "Usage: /unhostage [Player ID]"); return 1; } giveplayerid = strval(tmp); if (gTeam[playerid] == TEAM_BISTRO) { if (IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "You have released %s (ID:%d)", giveplayer, giveplayerid); SendClientMessage(playerid, COLOR_GREEN, string); format(string, sizeof(string), "You have been released by %s (ID:%d)!", sendername, playerid); SendClientMessage(giveplayerid, COLOR_GREEN, string); format(string, sizeof(string), "%s (ID:%d) has been released by %s (ID:%d)", giveplayer, giveplayerid, sendername, playerid); SendClientMessageToAll(COLOR_GREEN, string); printf(string); SetPlayerInterior(giveplayerid,1); SetPlayerFacingAngle(giveplayerid,90.00); SetPlayerPos(giveplayerid,2296.4031,2468.7754,10.820); SetPlayerFacingAngle(giveplayerid,177.0350); SetCameraBehindPlayer(giveplayerid); TogglePlayerControllable(giveplayerid,1); return 1; }else{ format(string, sizeof(string), "id %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_YELLOW, string); } }else{ format(string, sizeof(string), "You Are not official Maffia ~Staff!!", giveplayerid); SendClientMessage(playerid, COLOR_WHITE, string); } return 1; } if(strcmp(cmd, "/PILOT4444", true) == 0) { //Changes the players color and takes you to the pilot HQ SetPlayerPos(playerid, 414.4737,2532.6807,19.1484); SendClientMessage(playerid, COLOR_YELLOW, "You are logged in as a pilot!!"); gTeam[playerid] = TEAM_PILOT; SendClientMessage(playerid, COLOR_YELLOW, "Your commands are: /pickup, /plocation and /pilothq"); SetPlayerColor(playerid, COLOR_GREEN); return 1; } if(strcmp(cmd, "/pickup", true) == 0) { //displays the text: "Type /pilot to be flown anywhere in safety" if(gTeam[playerid] == TEAM_PILOT) { SendClientMessageToAll(COLOR_GREEN, "Type /pilot to be flown to anywhere in safety!!"); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT an official Pilot!!"); } return 1; } if(strcmp(cmd, "/pilothq", true) == 0) { //Teles a pilot back to the HQ if(gTeam[playerid] == TEAM_PILOT) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 414.4737,2532.6807,19.1484); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT an official Pilot!!"); } return 1; } if(strcmp(cmd, "/plocation", true) == 0) { //Displays the text: "What is your location?" if(gTeam[playerid] == TEAM_PILOT) { SendClientMessageToAll(COLOR_GREEN, "What is your location?!!"); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT an official Pilot!!"); } return 1; } if(strcmp(cmd, "/mlocation", true) == 0) { //Displays the text: "What is your location?" if(gTeam[playerid] == TEAM_BMT) { SendClientMessageToAll(COLOR_RED, "What is your location?!!"); } else { SendClientMessage(playerid, COLOR_RED1, "You Are NOT an official Medic!!"); } return 1; } if(strcmp(cmd, "/pilot", true) == 0) { //For the public to say: "[PLAYERID] Needs a private pilot!" GetPlayerName(playerid,name,sizeof(name)); format(string,sizeof(string),"%s Needs a private pilot!!",name); SendClientMessageToAll(COLOR_YELLOW, string); return 1; } return 0; }