Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMDMessageToBIA(playerid,command[])
- {
- new string[128];
- GetPlayerName(playerid,string,sizeof(string));
- format(string,sizeof(string),"[BiA Member] {FF0000}'%s' {81DEE9}| Rank: {FF0000}(%d) {81DEE9}| Command: {FF0000}%s",string,PlayerInfo[playerid][BIA],command);
- MessageToBIA(0x81DEE9FF,string);
- return 1;
- }
- MessageToBIA(color,const string[])
- {
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i) == 1 && PlayerInfo[i][BIA] >= 1 && PlayerInfo[i][LoggedIn] == 1)
- {
- SendClientMessage(i, color, string);
- }
- }
- return 1;
- }
- //BiA team menu
- CMD:biahelp(playerid, params[])
- {
- #pragma unused params
- if(PlayerInfo[playerid][BIA] >= 1) {
- new string[1900];
- strcat(string, "\t{90A8B7}|-| {FF0000}Brothers In Arms Crew Commands {90A8B7}|-|", 1900 );
- strcat(string, "\n\n{3D7DA5}/brothersinarms and /biamembers{96D6FD}(Shows all online BiA members)", 1900 );
- strcat(string, "\n{3D7DA5}/biabase{96D6FD}(teleports you to BiA base)", 1900 );
- strcat(string, "\n{3D7DA5}/biatune{96D6FD}(Gives your vehicle speical BiA tune)", 1900 );
- strcat(string, "\n{3D7DA5}/biaweaps{96D6FD}(Gives you BiA team weapons , do not abuse it!)", 1900 );
- strcat(string, "\n{3D7DA5}Skins{96D6FD}(/biaskin1 /biaskin2 /biaskin3 /biaskin4 /biaskin5)", 1900 );
- strcat(string, "\n{3D7DA5}Vehicles{96D6FD}(/biacar1 /biacar2 /biab)", 1900 );
- strcat(string, "\n{3D7DA5}/biah{96D6FD}(Tells other [BiA] members that you need help!)", 1900 );
- strcat(string, "\n{3D7DA5}/bia{96D6FD}([BiA] private chat, do not spam!)", 1900 );
- strcat(string, "\n{3D7DA5}/biaafk{96D6FD}([BiA] afk)", 1900 );
- strcat(string, "\n{3D7DA5}/biaback{96D6FD}([BiA] back)", 1900 );
- strcat(string, "\n{3D7DA5}/biac{96D6FD}(Gives you BiA team official color)", 1900 );
- strcat(string, "\n{3D7DA5}/biasay{96D6FD}([BiA] public say, do not abuse!)", 1900 );
- strcat(string, "\n{3D7DA5}/setbia{96D6FD}(Sets [BiA] level , only level 10+ can use it!)", 1900 );
- strcat(string, "\n{3D7DA5}/settempbia{96D6FD}(Sets [BiA] temp level , only level 9+ can use it!)", 1900 );
- strcat(string, "\n{3D7DA5}/biahi{96D6FD}(Gives you BiA Crew official highlight colors , only level 7+ can use it!)", 1900 );
- strcat(string, "\n{3D7DA5}/biaann{96D6FD}(Announce for all BiA members, only level 7+ can use it!)", 1900 );
- strcat(string, "\n{3D7DA5}/biao{96D6FD}(BiA managements chat, only level 9+ can use it!)", 1900 );
- strcat(string, "\n{3D7DA5}/setnlbia{96D6FD}(Sets a note on bia notes list, only level 14+ can use it!)", 1900 );
- strcat(string, "\n{3D7DA5}/clearbianl{96D6FD}(It will clear all notes exists in /bianl, only level 14+ can use it!)", 1900 );
- strcat(string, "\n{3D7DA5}/osetbia{96D6FD}(Sets offline BiA level, Only level 15 can use it!)", 1900 );
- strcat(string, "\n\t\t{00FFFF}|- Commands Scripted By Armin -|", 1900 );
- ShowPlayerDialog(playerid,1235, DIALOG_STYLE_MSGBOX, "{005F6A}BiA Commands", string, "OK","Cancel");
- } else return SendClientMessage(playerid,COLOR_RED, "ERROR: You need to be BiA member to use this command");
- return 1;}
- CMD:biaann(playerid, params[])
- {
- if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
- if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: /biaann [text]");
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaann again!");
- if(PlayerInfo[playerid][BIA] >= 7) {
- for(new i = 0; i < MAX_PLAYERS; i++)
- if(PlayerInfo[i][BIA] >= 1) {
- GameTextForPlayer(i, params, 4000, 3);}
- CMDMessageToBIA(playerid, "BiAAnnounce");
- return SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- } else return SendClientMessage(playerid, red, "ERROR: You need to be [BIA] level 7+ to use that command!");
- }
- CMD:osetbia(playerid,params[])
- {
- if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
- if(PlayerInfo[playerid][BIA] >= 15)
- {
- new file[256],string[120];
- new tmp[128], tmp2[128], Index, level; tmp = strtok(params,Index), tmp2 = strtok(params,Index), level = strval(tmp2);
- if(level > 15) return SendClientMessage(playerid, red, "ERROR:Max BIA level is 15!");
- if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: /osetbia [name] [level]");
- if(isnull(tmp2)) return SendClientMessage(playerid, red, "ERROR: You must input a level");
- format(file,sizeof(file),"/ladmin/users/%s.sav",udb_encode(tmp));
- if(!fexist(file)) return SendClientMessage(playerid, red, "ERROR: that account don't even exist!");
- dini_Set(file,"BIA",tmp2);
- new year,month,day; getdate(year, month, day); new hour,minute,second; gettime(hour,minute,second);
- format(string,sizeof(string),"You have set %s's BIA level to %s on %d/%d/%d at %d:%d:%d",tmp,tmp2 ,day, month, year, hour, minute, second );
- SendClientMessage(playerid,yellow,string);
- PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
- }
- return 1;
- }
- new BIAColor[MAX_PLAYERS] = 0;
- forward public BIAHIGHLIGHT(playerid);
- public BIAHIGHLIGHT(playerid){
- if(BIAColor[playerid] == 0) SetPlayerColor(playerid, 0xFFFFFFFF), BIAColor[playerid] = 1;
- else if(BIAColor[playerid] == 1) SetPlayerColor(playerid, 0x2C2727FF), BIAColor[playerid] = 0;
- }
- CMD:biahi(playerid, params[]) {
- if(PlayerInfo[playerid][BIA] >= 7) {
- SetTimerEx("BIAHIGHLIGHT", 1000, 1, "u", playerid);
- CMDMessageToBIA(playerid,"BiAHighLight");
- } else return SendClientMessage(playerid, red, "ERROR: You need to be BiA level 7+ to use this command!");
- return 1;
- }
- CMD:biabase(playerid,params[]) {
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biabase again!");
- if(PlayerInfo[playerid][BIA] >= 1) {
- if(PlayerInfo[playerid][Jailed] == 1) return SendClientMessage(playerid,COLOR_BRIGHTRED,"You cannot escape your punishment!");
- TeleTimer[playerid] = SetTimerEx("ttimer", 1000, true, "i",playerid);
- tseconds[playerid] = 6;
- format(tstring,45,"You Must wait %d seconds before teleporting", tseconds[playerid]-1);
- if(PlayerInfo[playerid][Level] == 0) SendClientMessage(playerid,COLOR_LIGHTBLUE, tstring);
- vCount[playerid] = 1;
- Tx[playerid] = 2762.9824;
- Ty[playerid] = -2453.9502;
- Tz[playerid] = 13.5354;
- Ti[playerid] = 0;
- new string[128];
- new dsname[MAX_PLAYER_NAME];
- format(telestring,43,"~b~[] ~r~BiA base ~b~[]");
- GetPlayerName(playerid, dsname, sizeof(dsname));
- format(string, sizeof(string), "{037683}[TELE]:{00AABC}%s Has Just Teleported To [BiA] base ", dsname);
- SendClientMessageToAll(COLOR_ORANGE, string);
- } else return SendClientMessage(playerid,red,"ERROR: You need to be a [BiA] member to use this command");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- CMDMessageToBIA(playerid, "BiABase");
- return 1;
- }
- CMD:biaskin1(playerid,params[]) {
- #pragma unused params
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaskin1 again!");
- if(PlayerInfo[playerid][BIA] >= 1) {
- SetPlayerSkin(playerid,46);
- CMDMessageToBIA(playerid,"BiASkin1");
- } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be BiA member to use this command", "OK", "Cancel");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+2000);
- return 1;
- }
- CMD:biaskin2(playerid,params[]) {
- #pragma unused params
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaskin2 again!");
- if(PlayerInfo[playerid][BIA] >= 1) {
- SetPlayerSkin(playerid,270);
- CMDMessageToBIA(playerid,"BiASkin2");
- } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be BiA member to use this command", "OK", "Cancel");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+2000);
- return 1;
- }
- CMD:biaskin3(playerid,params[]) {
- #pragma unused params
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaskin3 again!");
- if(PlayerInfo[playerid][BIA] >= 1) {
- SetPlayerSkin(playerid,120);
- CMDMessageToBIA(playerid,"BiASkin3");
- } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be BiA member to use this command", "OK", "Cancel");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+2000);
- return 1;
- }
- CMD:biaskin4(playerid,params[]) {
- #pragma unused params
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaskin4 again!");
- if(PlayerInfo[playerid][BIA] >= 1) {
- SetPlayerSkin(playerid,171);
- CMDMessageToBIA(playerid,"BiASkin4");
- } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be BiA member to use this command", "OK", "Cancel");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+2000);
- return 1;
- }
- CMD:biaskin5(playerid,params[]) {
- #pragma unused params
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaskin5 again!");
- if(PlayerInfo[playerid][BIA] >= 1) {
- SetPlayerSkin(playerid,141);
- CMDMessageToBIA(playerid,"BiASkin5");
- } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be BiA member to use this command", "OK", "Cancel");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+2000);
- return 1;
- }
- CMD:biasay(playerid,params[]) {
- #pragma unused params
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biasay again!");
- if(PlayerInfo[playerid][BIA] >= 3) {
- if(isnull(params)) return SendClientMessage(playerid,COLOR_RED, "USAGE: /biasay [text]");
- new string[128]; format(string, sizeof(string), "{037683}[BiASay]: {1DCBDE}|BiA| {3036E9}%s (Rank: %d) | %s | {037683}Says: {FF0000}%s", GetBiARank(playerid), PlayerInfo[playerid][BIA], PlayerName2(playerid), params[0]);
- SendClientMessageToAll(COLOR_BRIGHTRED,string);
- return SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- } else return SendClientMessage(playerid,COLOR_RED,"ERROR: You need to be level 2+ BiA member to use this command!");
- }
- CMD:biao(playerid, params[])
- {
- if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid, red, "ERROR: You need to be logged in to use this command!");
- if(PlayerInfo[playerid][BIA] > 9)
- {
- new opermessage[256];
- format(opermessage, sizeof opermessage, "{C3C3C3}[BiAManagement] | %s | {3036E9}%s: {A1C287}%s", PlayerName2(playerid), GetBiARank(playerid), params);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(PlayerInfo[i][BIA] >= 10 && PlayerInfo[i][LoggedIn] == 1) SendClientMessage(i, -1, opermessage);
- }
- } else return ShowPlayerDialog(playerid, 3245, DIALOG_STYLE_MSGBOX, "ERROR", "{FF0000}You need to be [BiA] rank 10+ to use this command!", "Ok", "");
- return 1;
- }
- CMD:biatune(playerid, params[]) {
- if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid, red, "ERROR : You need to be Logged in to use this command");
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biatune again!");
- if(PlayerInfo[playerid][BIA] >= 1) {
- new vehicleid = GetPlayerVehicleID(playerid);
- BIATune(vehicleid);
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- CMDMessageToBIA(playerid, "BiATune");
- return PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
- } else return SendClientMessage(playerid , red, "ERROR : You need to be [BiA] member to use this command!");
- }
- BIATune(vehicleid)
- {
- ChangeVehicleColor(vehicleid,0,1);
- AddVehicleComponent(vehicleid, 1010);
- AddVehicleComponent(vehicleid, 1087);
- AddVehicleComponent(vehicleid,1080);
- return 1;
- }
- CMD:brothersinarms(playerid,params[])
- {
- #pragma unused params
- new count = 0;
- new string[128];
- new ChangeColor;
- new BIAR[128];
- new BIADUTY[128];
- if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
- SendClientMessage(playerid, 0x037683FF, " ");
- SendClientMessage(playerid, 0x037683FF, "__________ |- Online Brothers In Arms Crew Members -| __________");
- SendClientMessage(playerid, 0x037683FF, " ");
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(!IsPlayerConnected(i)) continue;
- if(PlayerInfo[i][LoggedIn] == 0) continue;
- if(PlayerInfo[i][BIA] == 0) continue;
- if(PlayerInfo[i][BIA] == 1) { BIAR = "New Brother"; ChangeColor = 0x00FFFFFF; }
- if(PlayerInfo[i][BIA] == 2) { BIAR = "Young Brother"; ChangeColor = 0x8B008BFF; }
- if(PlayerInfo[i][BIA] == 3) { BIAR = "Mini Brother"; ChangeColor = 0xFF00FFFF; }
- if(PlayerInfo[i][BIA] == 4) { BIAR = "Senior Brother"; ChangeColor = 0xFF0000FF; }
- if(PlayerInfo[i][BIA] == 5) { BIAR = "Trustfull Brother"; ChangeColor = 0xFFFF00FF; }
- if(PlayerInfo[i][BIA] == 6) { BIAR = "Loyal Brother"; ChangeColor = 0xA52A2AFF; }
- if(PlayerInfo[i][BIA] == 7) { BIAR = "Old Brother"; ChangeColor = 0xFF8000FF; }
- if(PlayerInfo[i][BIA] == 8) { BIAR = "Special Brother"; ChangeColor = 0xA52A2AFF; }
- if(PlayerInfo[i][BIA] == 9) { BIAR = "Vice In Charge Brother"; ChangeColor = 0x105F00FF; }
- if(PlayerInfo[i][BIA] == 10) { BIAR = "Vice Brother"; ChangeColor = 0x000D5FFF; }
- if(PlayerInfo[i][BIA] == 11) { BIAR = "Combat Brother"; ChangeColor = 0xFF00FFFF; }
- if(PlayerInfo[i][BIA] == 12) { BIAR = "Top Brother"; ChangeColor = 0x01DF01FF; }
- if(PlayerInfo[i][BIA] == 13) { BIAR = "Head Brother"; ChangeColor = 0x190707FF; }
- if(PlayerInfo[i][BIA] == 14) { BIAR = "Ultra Brother"; ChangeColor = 0xDF01A5FF; }
- if(PlayerInfo[i][BIA] == 15) { BIAR = "Chief"; ChangeColor = 0x0000FFFF; }
- if(BIADutyPlaying[i] == 0) BIADUTY = "{FF0000}Playing.";
- if(BIADutyPlaying[i] == 1) BIADUTY = "{FF0000}Away from the keyboard.";
- format(string, 128, "BiA Rank: %d - %s (ID:%i) | %s | %s",PlayerInfo[i][BIA], PlayerName2(i),i, BIAR, BIADUTY);
- SendClientMessage(playerid, ChangeColor, string);
- count++;
- }
- if (count == 0) SendClientMessage(playerid,0x037683FF,"No online BiA Members");
- SendClientMessage(playerid, 0x037683FF, "_________________________________________________");
- return 1;
- }
- CMD:biamembers(playerid, params[]) return cmd_brothersinarms(playerid, params);
- CMD:biaafk(playerid,params[]) {
- #pragma unused params
- if(PlayerInfo[playerid][BIA] >= 1) {
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaafk again!");
- new string[256],kuldoneve[MAX_PLAYER_NAME];
- SendClientMessage(playerid,0x99FF00AA,"Type /biaback when you back.");
- GameTextForPlayer(playerid,"~r~ Are you now AFK", 5000, 1);
- AFK[playerid] = Create3DTextLabel("Brothers In Arms Away From Keyboard!", 0xFF0000FF, 0.0, 0.0, 2.0, 40, 0, 0);
- Attach3DTextLabelToPlayer(AFK[playerid],playerid, 0.0, 0.0, 0.4);
- TogglePlayerControllable(playerid, 0);
- GetPlayerName(playerid, kuldoneve, sizeof(kuldoneve));
- format(string, sizeof(string), "{037683}[BiAAfk] {1DCBDE}Brothers in Arms {3036E9}| %s | %s {1DCBDE}Has {FFEA6B}'Gone on a Break!'",GetBiARank(playerid), kuldoneve, playerid);
- SendClientMessageToAll(COLOR_BLUE, string);
- CMDMessageToBIA(playerid, "BiAAfk");
- BIADutyPlaying[playerid] = 1;
- } else return SendClientMessage(playerid,COLOR_RED,"ERROR: You need to be [BiA]Member to use this command.");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- return 1;
- }
- CMD:biaback(playerid,params[]) {
- if(PlayerInfo[playerid][BIA] >= 1) {
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaback again!");
- new string[128],kuldoneve[MAX_PLAYER_NAME];
- Delete3DTextLabel(AFK[playerid]);
- GameTextForPlayer(playerid,"~g~ Welcome Back", 5000, 1);
- TogglePlayerControllable(playerid, 1);
- GetPlayerName(playerid, kuldoneve, sizeof(kuldoneve));
- format(string, sizeof(string), "{037683}[BiABack] {1DCBDE}Brothers in Arms {3036E9}| %s | %s {1DCBDE}has come back from his {33FF33}'Break!'",GetBiARank(playerid), kuldoneve, playerid);
- SendClientMessageToAll(COLOR_BLUE, string);
- CMDMessageToBIA(playerid, "BiABack");
- BIADutyPlaying[playerid] = 0;
- } else return SendClientMessage(playerid,COLOR_RED,"ERROR: You need to be [BiA]Member to use this command.");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- return 1;
- }
- CMD:biaru(playerid, params[])
- {
- ShowPlayerDialog(playerid, 5385, DIALOG_STYLE_MSGBOX, "BiA Main Rules",
- "Dont abuse weaps cmd\n\
- Dont use foul language\n\
- Dont use hacks or illegal mods while your in team\n\
- Dont disrespect any other member's even if they are lower than you or kill any of your team mates\n\
- Dont disrespect chief or ultra brother\n\
- Note: If you want to apply for BiA:\n\
- 1- Register at Bttdm.com (if your not registered)\n\
- 2- look for BiA Crew Board at the donators group and make an app\n\
- 3- Wait Patiently for the Management's reply on your app and members opnions.", "Ok", "");
- new string[256];
- if(PlayerInfo[playerid][BIA] == 0) format(string,sizeof(string),"[Non - BiA Member] {FF0000}Unknown {81DEE9}| Rank: {FF0000}(%d) {81DEE9}| Command: {FF0000}BiARU",pName(playerid),PlayerInfo[playerid][BIA]), MessageToBIA(-1, string);
- CMDMessageToBIA(playerid, "BiARU");
- return 1;
- }
- CMD:biaweaps(playerid,params[]) {
- if(GetPVarInt(playerid, "WEAPSABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaweaps again!");
- if(PlayerInfo[playerid][BIA] >= 1) {
- GivePlayerWeapon(playerid,26,9000); GivePlayerWeapon(playerid,31,9000); GivePlayerWeapon(playerid,24,9000);
- GivePlayerWeapon(playerid,34,9000); GivePlayerWeapon(playerid,32,9000); GivePlayerWeapon(playerid, 43, 9000);
- GivePlayerWeapon(playerid,8,9000); GivePlayerWeapon(playerid, 46, 9000);
- new string[128],kuldoneve[MAX_PLAYER_NAME];
- GetPlayerName(playerid, kuldoneve, sizeof(kuldoneve));
- format(string, sizeof(string), "{037683}[BiAWeaps] {1DCBDE}Brothers in Arms {3036E9}| %s | %s {1DCBDE}now used {FF0000}/biaweaps.",GetBiARank(playerid), kuldoneve, playerid);
- SendClientMessageToAll(COLOR_BLUE, string);
- CMDMessageToBIA(playerid,"BiAWeaps");
- SetPVarInt(playerid, "WEAPSABUSE", GetTickCount()+5000);
- } else return SendClientMessage(playerid,COLOR_RED,"ERROR: You must be a [BiA] member to use this command");
- return 1;
- }
- #define MAX_BIANL 7
- new BiANL[MAX_REPORTS][128];
- CMD:setnlbia(playerid,params[]) {
- if(PlayerInfo[playerid][BIA] >= 14)
- {
- if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: /setnlbia [text]");
- new str[128];
- format(str, sizeof(str), "{B4B7B7}[NewNote] {FF0000}'%s' {B4B7B7}| By: {FF0000}%s(%d)", params, pName(playerid), playerid);
- MessageToBIA(COLOR_WHITE,str);
- format(str, sizeof(str), "[Note] ~ '%s' by %s", params, pName(playerid));
- for(new i = 1; i < MAX_BIANL-1; i++) BiANL[i] = BiANL[i+1];
- BiANL[MAX_BIANL-1] = str;
- } else return SendClientMessage(playerid, red, "ERROR: You need to be [BiA] Member to use this command.");
- return 1;
- }
- CMD:clearbianl(playerid, params[])
- {
- if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid, red, "ERROR: You need to be logged in to use this command.");
- if(PlayerInfo[playerid][BIA] >= 14)
- {
- for(new i = 1; i < MAX_BIANL; i++) BiANL[i] = "<none>";
- CMDMessageToBIA(playerid, "ClearBiANL");
- new string[128]; format(string, sizeof string, "{FF0000}%s(%d) {00FFFF}has cleared BiA notes list.", pName(playerid), playerid);
- MessageToBIA(-1, string);
- }
- return 1;
- }
- CMD:bianl(playerid,params[]) {
- #pragma unused params
- if(PlayerInfo[playerid][BIA] >= 1) {
- new BNCOUNT;
- SendClientMessage(playerid, grey, " ");
- SendClientMessage(playerid, grey, "_______________ ~ BiA Note list ~ _______________");
- SendClientMessage(playerid, grey, " ");
- for(new i = 1; i < MAX_BIANL; i++)
- {
- if(strcmp(BiANL[i], "<none>", true) != 0) { BNCOUNT++; SendClientMessage(playerid,0x81DEE9FF,BiANL[i]); }
- }
- if(BNCOUNT == 0) SendClientMessage(playerid,red,"There have been no note in the list.");
- SendClientMessage(playerid, grey, "_______________________________________________");
- SendClientMessage(playerid, grey, " ");
- } else SendClientMessage(playerid,red,"ERROR: You need to be [BiA] Member to use this command.");
- return 1;
- }
- CMD:settempbia(playerid,params[]) {
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /settempbia again!");
- if(PlayerInfo[playerid][LoggedIn] == 1) {
- if(PlayerInfo[playerid][BIA] < 9) return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be [BiA] level 9+ to use this command", "OK", "Cancel");
- new tmp[128], tmp2[128], Index; tmp = strtok(params,Index), tmp2 = strtok(params,Index);
- if(isnull(params)) return SendClientMessage(playerid, 0xFF0000AA, "USAGE: /settemtbia [playerid] [level]");
- new player1, level, playername[MAX_PLAYER_NAME], adminname[MAX_PLAYER_NAME], string[128];
- player1 = strval(tmp);
- if(isnull(tmp2)) return SendClientMessage(playerid, 0xFF0000AA, "USAGE: /settempbia [playerid] [level]");
- level = strval(tmp2);
- if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID) {
- if(PlayerInfo[player1][LoggedIn] == 1) {
- if(level > 9 ) return SendClientMessage(playerid,0xFF0000AA,"ERROR: Max [BIA] temp level is 9");
- if(level == PlayerInfo[player1][BIA]) return SendClientMessage(playerid,0xFF0000AA,"ERROR: Player is already this [BIA] level");
- CMDMessageToBIA(playerid,"SetTempBiA");
- GetPlayerName(player1, playername, sizeof(playername)); GetPlayerName(playerid, adminname, sizeof(adminname));
- new year,month,day; getdate(year, month, day); new hour,minute,second; gettime(hour,minute,second);
- if(level > 0) format(string,sizeof(string)," %s has set you're [BiA] Status to level %d",adminname, level);
- else format(string,sizeof(string)," %s has set youre [BiA] Status to level %d",adminname, level);
- SendClientMessage(player1,0x00FFFFAA,string);
- if(level > PlayerInfo[player1][BIA]) GameTextForPlayer(player1,"~g~[BiA] LEVEL UP", 2000, 3);
- else GameTextForPlayer(player1,"~r~[BiA] LEVEL DOWN", 2000, 3);
- format(string,sizeof(string),"You have made %s [BiA] Temp Level %d on %d/%d/%d at %d:%d:%d", playername, level, day, month, year, hour, minute, second); SendClientMessage(playerid,0x00FFFFAA,string);
- format(string,sizeof(string),"%s has made %s [BiA] Temp Level %d on %d/%d/%d at %d:%d:%d",adminname, playername, level, day, month, year, hour, minute, second);
- PlayerInfo[player1][BIA] = level;
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- return PlayerPlaySound(player1,1057,0.0,0.0,0.0);
- } else return SendClientMessage(playerid,0xFF0000AA,"ERROR: Player must be registered and logged in to be setted as BiA member");
- } else return SendClientMessage(playerid, 0xFF0000AA, "Player is not connected");
- } else return SendClientMessage(playerid,0xFF0000AA,"ERROR: You must be logged in to use this commands");
- }
- CMD:setbia(playerid,params[]) {
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /setbia again!");
- if(PlayerInfo[playerid][LoggedIn] == 1) {
- if(IsPlayerAdmin(playerid) && PlayerInfo[playerid][Level] >= 8 || PlayerInfo[playerid][BIA] >= 10)
- {
- new tmp[128], tmp2[128], Index; tmp = strtok(params,Index), tmp2 = strtok(params,Index);
- if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: /setbia [playerid] [level]");
- new player1, level, playername[MAX_PLAYER_NAME], adminname[MAX_PLAYER_NAME], string[128];
- player1 = strval(tmp);
- if(isnull(tmp2)) return SendClientMessage(playerid, red, "USAGE: /setbia [playerid] [level]");
- level = strval(tmp2);
- if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID) {
- if(PlayerInfo[player1][LoggedIn] == 1) {
- if(level > 15 ) return SendClientMessage(playerid,red,"ERROR: Max BiA Level is 15");
- if(level == PlayerInfo[player1][BIA]) return SendClientMessage(playerid,red,"ERROR: Player is already this BiA level");
- MessageToAdmins(playerid,"SetBiA");
- CMDMessageToBIA(playerid, "SetBiA");
- GetPlayerName(player1, playername, sizeof(playername)); GetPlayerName(playerid, adminname, sizeof(adminname));
- new year,month,day; getdate(year, month, day); new hour,minute,second; gettime(hour,minute,second);
- if(level > 0) format(string,sizeof(string)," %s has set you're [BiA] Status to level %d",adminname, level);
- else format(string,sizeof(string)," %s has set youre [BiA] Status to level %d",adminname, level);
- SendClientMessage(player1,yellow,string);
- if(level > PlayerInfo[player1][BIA]) GameTextForPlayer(player1,"~g~[BiA] LEVEL UP", 2000, 3);
- else GameTextForPlayer(player1,"~r~[BiA] LEVEL DOWN", 2000, 3);
- format(string,sizeof(string),"You have made %s [BiA] Level %d on %d/%d/%d at %d:%d:%d", playername, level, day, month, year, hour, minute, second); SendClientMessage(playerid,yellow,string);
- format(string,sizeof(string),"%s has made %s [BiA] Level %d on %d/%d/%d at %d:%d:%d",adminname, playername, level, day, month, year, hour, minute, second);
- dUserSetINT(PlayerName2(player1)).("BIA",(level));
- PlayerInfo[player1][BIA] = level;
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- return PlayerPlaySound(player1,1057,0.0,0.0,0.0);
- } else return SendClientMessage(playerid,red,"ERROR: Player must be registered and logged in to be set as a [BiA] member");
- } else return SendClientMessage(playerid, red, "Player is not connected");
- } else return SendClientMessage(playerid,red,"ERROR: you do not have the privilegie to set [BiA]'s");
- } else return SendClientMessage(playerid,red,"ERROR: You must be logged in to use this commands");
- }
- // BiA team privet message
- CMD:bia(playerid,params[]) {
- #pragma unused params
- if(PlayerInfo[playerid][LoggedIn] == 1) {
- if(PlayerInfo[playerid][BIA] >= 1) {
- new string[128];
- format(string, sizeof(string), "{037683}[BiAChat] {00FFFF}| New Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
- if(PlayerInfo[playerid][BIA] >= 2)
- format(string, sizeof(string), "{037683}[BiAChat] {8B008B}| Young Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
- if(PlayerInfo[playerid][BIA] >= 3)
- format(string, sizeof(string), "{037683}[BiAChat] {FF00FF}| Mini Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
- if(PlayerInfo[playerid][BIA] >= 4)
- format(string, sizeof(string), "{037683}[BiAChat] {FF0000}| Senior Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
- if(PlayerInfo[playerid][BIA] >= 5)
- format(string, sizeof(string), "{037683}[BiAChat] {FFFF00}| Trustfull Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
- if(PlayerInfo[playerid][BIA] >= 6)
- format(string, sizeof(string), "{037683}[BiAChat] {A52A2A}| Loyal Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
- if(PlayerInfo[playerid][BIA] >= 7)
- format(string, sizeof(string), "{037683}[BiAChat] {FF8000}| Old Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
- if(PlayerInfo[playerid][BIA] >= 8)
- format(string, sizeof(string), "{037683}[BiAChat] {A52A2A}| Special Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
- if(PlayerInfo[playerid][BIA] >= 9)
- format(string, sizeof(string), "{037683}[BiAChat] {105F00}| Vice In Charge Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
- if(PlayerInfo[playerid][BIA] >= 10)
- format(string, sizeof(string), "{037683}[BiAChat] {000D5F}| Vice Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
- if(PlayerInfo[playerid][BIA] >= 11)
- format(string, sizeof(string), "{037683}[BiAChat] {FF00FF}| Combat Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
- if(PlayerInfo[playerid][BIA] >= 12)
- format(string, sizeof(string), "{037683}[BiAChat] {01DF01}| Top Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
- if(PlayerInfo[playerid][BIA] >= 13)
- format(string, sizeof(string), "{037683}[BiAChat] {190707}| Head Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
- if(PlayerInfo[playerid][BIA] >= 14)
- format(string, sizeof(string), "{037683}[BiAChat] {DF01A5}| Ultra Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
- if(PlayerInfo[playerid][BIA] >= 15)
- format(string, sizeof(string), "{0000FF}[BiAChat] {0000FF}| Chief | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
- MessageToBIA(0x037683FF,string);
- } else return SendClientMessage(playerid,red,"ERROR: You need to be [BiA] Member to use this command");
- } else return SendClientMessage(playerid,red,"ERROR: You need to be Logged in to use this command");
- return 1;
- }
- CMD:biah(playerid,params[]) {
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biah again!");
- if(PlayerInfo[playerid][BIA] >= 1) {
- CMDMessageToBIA(playerid, "BiAH");
- new string[128]; format(string, sizeof(string), "{037683}[BiAHelp]: {1DCBDE}|BiA| {3036E9}%s (Rank: %d) %s is in need of {FF0000}help!!! ", GetBiARank(playerid), PlayerInfo[playerid][BIA], PlayerName2(playerid));
- MessageToBIA(red,string);
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- } else return SendClientMessage(playerid,red,"ERROR: You need to be a [BiA] member to use this command");
- return 1;
- }
- GetBiARank(playerid)
- {
- new handle[500], string[128];
- switch(PlayerInfo[playerid][BIA])
- {
- case 1: {
- format(string, sizeof string, "New Brother");
- strcat(handle, string);
- }
- case 2: {
- format(string, sizeof string, "Young Brother");
- strcat(handle, string);
- }
- case 3: {
- format(string, sizeof string, "Mini Brother");
- strcat(handle, string);
- }
- case 4: {
- format(string, sizeof string, "Senior Brother");
- strcat(handle, string);
- }
- case 5: {
- format(string, sizeof string, "Trustfull Brother");
- strcat(handle, string);
- }
- case 6: {
- format(string, sizeof string, "Loyal Brother");
- strcat(handle, string);
- }
- case 7: {
- format(string, sizeof string, "Old Brother");
- strcat(handle, string);
- }
- case 8: {
- format(string, sizeof string, "Special Brother");
- strcat(handle, string);
- }
- case 9: {
- format(string, sizeof string, "Vice In Charge Brother");
- strcat(handle, string);
- }
- case 10: {
- format(string, sizeof string, "Vice Brother");
- strcat(handle, string);
- }
- case 11: {
- format(string, sizeof string, "Combat Brother");
- strcat(handle, string);
- }
- case 12: {
- format(string, sizeof string, "Top Brother");
- strcat(handle, string);
- }
- case 13: {
- format(string, sizeof string, "Head Brother");
- strcat(handle, string);
- }
- case 14: {
- format(string, sizeof string, "Ultra Brother");
- strcat(handle, string);
- }
- case 15: {
- format(string, sizeof string, "Chief");
- strcat(handle, string);
- }
- }
- return handle;
- }
- CMD:biahu(playerid,params[]) {
- #pragma unused params
- if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
- if(PlayerInfo[playerid][BIA] >= 1) {
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biahu again!");
- if (!IsPlayerInAnyVehicle(playerid)) {
- CarSpawner(playerid,425);
- CMDMessageToBIA(playerid,"BiAHunter");
- return SendClientMessage(playerid,yellow,"Enjoy your hunter.");
- } else return SendClientMessage(playerid,red,"Error: You already have a vehicle");
- } else return SendClientMessage(playerid,red,"ERROR: You need to be [BiA] level 1+ to use this command");
- }
- CMD:biay(playerid,params[]) {
- #pragma unused params
- if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
- if(PlayerInfo[playerid][BIA] >= 1) {
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biay again!");
- if (!IsPlayerInAnyVehicle(playerid)) {
- CarSpawner(playerid,520);
- CMDMessageToBIA(playerid,"BiAHydra");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- return SendClientMessage(playerid,yellow,"Enjoy your hydra.");
- } else return SendClientMessage(playerid,red,"Error: You already have a vehicle");
- } else return SendClientMessage(playerid,red,"ERROR: You need to be [BiA] level 1+ to use this command");
- }
- CMD:biacar1(playerid,params[]) {
- #pragma unused params
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biacar1 again!");
- if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
- if(PlayerInfo[playerid][BIA] >= 1) {
- if (!IsPlayerInAnyVehicle(playerid)) {
- CarSpawner(playerid,541);
- AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
- CMDMessageToBIA(playerid,"BiACar1");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- return SendClientMessage(playerid,0x00FFFFAA,"You are spawned BIA bullet!");
- } else return SendClientMessage(playerid,0xFF0000AA,"Error: You already have a vehicle");
- } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be [BiA] level 1+ to use this command", "OK", "Cancel");
- }
- CMD:biacar2(playerid,params[]) {
- #pragma unused params
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biacar2 again!");
- if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
- if(PlayerInfo[playerid][BIA] >= 1) {
- if (!IsPlayerInAnyVehicle(playerid)) {
- CarSpawner(playerid,444);
- AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
- CMDMessageToBIA(playerid,"BiACar2");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- return SendClientMessage(playerid,0x00FFFFAA,"You are spawned BIA Monster Truck A");
- } else return SendClientMessage(playerid,0xFF0000AA,"Error: You already have a vehicle");
- } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be [BiA] level 1+ to use this command", "OK", "Cancel");
- }
- CMD:biacar3(playerid,params[]) {
- #pragma unused params
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biacar3 again!");
- if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
- if(PlayerInfo[playerid][BIA] >= 1) {
- if (!IsPlayerInAnyVehicle(playerid)) {
- CarSpawner(playerid,560);
- AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
- CMDMessageToBIA(playerid,"BiACar3");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- return SendClientMessage(playerid,0x00FFFFAA,"You are spawned BiA Sultan.");
- } else return SendClientMessage(playerid,0xFF0000AA,"Error: You already have a vehicle");
- } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be [BiA] level 1+ to use this command", "OK", "Cancel");
- }
- CMD:biacar4(playerid,params[]) {
- #pragma unused params
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biacar4 again!");
- if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
- if(PlayerInfo[playerid][BIA] >= 1) {
- if (!IsPlayerInAnyVehicle(playerid)) {
- CarSpawner(playerid,411);
- AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
- CMDMessageToBIA(playerid,"BiACar4");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- return SendClientMessage(playerid,0x00FFFFAA,"You are spawned BiA Infernus.");
- } else return SendClientMessage(playerid,0xFF0000AA,"Error: You already have a vehicle");
- } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be [BiA] level 1+ to use this command", "OK", "Cancel");
- }
- CMD:biacar5(playerid,params[]) {
- #pragma unused params
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biacar5 again!");
- if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
- if(PlayerInfo[playerid][BIA] >= 1) {
- if (!IsPlayerInAnyVehicle(playerid)) {
- CarSpawner(playerid,580);
- AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
- CMDMessageToBIA(playerid,"BiACar5");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- return SendClientMessage(playerid,0x00FFFFAA,"You are spawned BiA Stafford.");
- } else return SendClientMessage(playerid,0xFF0000AA,"Error: You already have a vehicle");
- } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be [BiA] level 1+ to use this command", "OK", "Cancel");
- }
- CMD:biacar6(playerid,params[]) {
- #pragma unused params
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biacar6 again!");
- if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
- if(PlayerInfo[playerid][BIA] >= 3) {
- if (!IsPlayerInAnyVehicle(playerid)) {
- CarSpawner(playerid,502);
- AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
- CMDMessageToBIA(playerid,"BiACar6");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- return SendClientMessage(playerid,0x00FFFFAA,"You are spawned BiA Hotring A.");
- } else return SendClientMessage(playerid,0xFF0000AA,"Error: You already have a vehicle");
- } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be [BiA] level 1+ to use this command", "OK", "Cancel");
- }
- CMD:biab(playerid,params[]) {
- #pragma unused params
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biab again!");
- if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
- if(PlayerInfo[playerid][BIA] >= 2) {
- if (!IsPlayerInAnyVehicle(playerid)) {
- CarSpawner(playerid,522);
- AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
- CMDMessageToBIA(playerid,"BiABike");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
- return SendClientMessage(playerid,0x00FFFFAA,"You spawned BiA NRG-500!");
- } else return SendClientMessage(playerid,0xFF0000AA,"Error: You already have a vehicle");
- } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be [BiA] level 2+ to use this command", "OK", "Cancel");
- }
- CMD:biac(playerid, params[])
- {
- if(PlayerInfo[playerid][BIA] >= 1) {
- if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biac again!");
- SetPlayerColor(playerid, black);
- CMDMessageToBIA(playerid, "BiAc");
- SendClientMessage(playerid, red, "You setted your color to black!");
- SetPVarInt(playerid, "BIAABUSE", GetTickCount()+2000);
- } else return SendClientMessage(playerid, red, "You need to be BiA member to use that command!");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement