Advertisement
jlalt

awww

Feb 9th, 2017
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 42.93 KB | None | 0 0
  1. CMDMessageToBIA(playerid,command[])
  2. {
  3.     new string[128];
  4.     GetPlayerName(playerid,string,sizeof(string));
  5.     format(string,sizeof(string),"[BiA Member] {FF0000}'%s' {81DEE9}| Rank: {FF0000}(%d) {81DEE9}| Command: {FF0000}%s",string,PlayerInfo[playerid][BIA],command);
  6.     MessageToBIA(0x81DEE9FF,string);
  7.     return 1;
  8. }
  9. MessageToBIA(color,const string[])
  10. {
  11.     for(new i = 0; i < MAX_PLAYERS; i++)
  12.     {
  13.         if(IsPlayerConnected(i) == 1 && PlayerInfo[i][BIA] >= 1 && PlayerInfo[i][LoggedIn] == 1)
  14.         {
  15.             SendClientMessage(i, color, string);
  16.         }
  17.     }
  18.     return 1;
  19. }
  20. //BiA team menu
  21.  
  22. CMD:biahelp(playerid, params[])
  23. {
  24.     #pragma unused params
  25.     if(PlayerInfo[playerid][BIA] >= 1) {
  26.         new string[1900];
  27.         strcat(string, "\t{90A8B7}|-| {FF0000}Brothers In Arms Crew Commands {90A8B7}|-|", 1900 );
  28.         strcat(string, "\n\n{3D7DA5}/brothersinarms and /biamembers{96D6FD}(Shows all online BiA members)", 1900 );
  29.         strcat(string, "\n{3D7DA5}/biabase{96D6FD}(teleports you to BiA base)", 1900 );
  30.         strcat(string, "\n{3D7DA5}/biatune{96D6FD}(Gives your vehicle speical BiA tune)", 1900 );
  31.         strcat(string, "\n{3D7DA5}/biaweaps{96D6FD}(Gives you BiA team weapons , do not abuse it!)", 1900 );
  32.         strcat(string, "\n{3D7DA5}Skins{96D6FD}(/biaskin1 /biaskin2 /biaskin3 /biaskin4 /biaskin5)", 1900 );
  33.         strcat(string, "\n{3D7DA5}Vehicles{96D6FD}(/biacar1 /biacar2 /biab)", 1900 );
  34.         strcat(string, "\n{3D7DA5}/biah{96D6FD}(Tells other [BiA] members that you need help!)", 1900 );
  35.         strcat(string, "\n{3D7DA5}/bia{96D6FD}([BiA] private chat, do not spam!)", 1900 );
  36.         strcat(string, "\n{3D7DA5}/biaafk{96D6FD}([BiA] afk)", 1900 );
  37.         strcat(string, "\n{3D7DA5}/biaback{96D6FD}([BiA] back)", 1900 );
  38.         strcat(string, "\n{3D7DA5}/biac{96D6FD}(Gives you BiA team official color)", 1900 );
  39.         strcat(string, "\n{3D7DA5}/biasay{96D6FD}([BiA] public say, do not abuse!)", 1900 );
  40.         strcat(string, "\n{3D7DA5}/setbia{96D6FD}(Sets [BiA] level , only level 10+ can use it!)", 1900 );
  41.         strcat(string, "\n{3D7DA5}/settempbia{96D6FD}(Sets [BiA] temp level , only level 9+ can use it!)", 1900 );
  42.         strcat(string, "\n{3D7DA5}/biahi{96D6FD}(Gives you BiA Crew official highlight colors , only level 7+ can use it!)", 1900 );
  43.         strcat(string, "\n{3D7DA5}/biaann{96D6FD}(Announce for all BiA members, only level 7+ can use it!)", 1900 );
  44.         strcat(string, "\n{3D7DA5}/biao{96D6FD}(BiA managements chat, only level 9+ can use it!)", 1900 );
  45.         strcat(string, "\n{3D7DA5}/setnlbia{96D6FD}(Sets a note on bia notes list, only level 14+ can use it!)", 1900 );
  46.         strcat(string, "\n{3D7DA5}/clearbianl{96D6FD}(It will clear all notes exists in /bianl, only level 14+ can use it!)", 1900 );
  47.         strcat(string, "\n{3D7DA5}/osetbia{96D6FD}(Sets offline BiA level, Only level 15 can use it!)", 1900 );
  48.         strcat(string, "\n\t\t{00FFFF}|- Commands Scripted By Armin -|", 1900 );
  49.         ShowPlayerDialog(playerid,1235, DIALOG_STYLE_MSGBOX, "{005F6A}BiA Commands", string, "OK","Cancel");
  50.     } else return SendClientMessage(playerid,COLOR_RED, "ERROR: You need to be BiA member to use this command");
  51.     return 1;}
  52. CMD:biaann(playerid, params[])
  53. {
  54.     if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
  55.     if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: /biaann [text]");
  56.     if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaann again!");
  57.     if(PlayerInfo[playerid][BIA] >= 7) {
  58.         for(new i = 0; i < MAX_PLAYERS; i++)
  59.         if(PlayerInfo[i][BIA] >= 1) {
  60.         GameTextForPlayer(i, params, 4000, 3);}
  61.         CMDMessageToBIA(playerid, "BiAAnnounce");
  62.         return SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  63.     } else return SendClientMessage(playerid, red, "ERROR: You need to be [BIA] level 7+ to use that command!");
  64. }
  65. CMD:osetbia(playerid,params[])
  66. {
  67.     if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
  68.     if(PlayerInfo[playerid][BIA] >= 15)
  69.     {
  70.             new file[256],string[120];
  71.             new tmp[128], tmp2[128], Index, level;             tmp = strtok(params,Index), tmp2 = strtok(params,Index), level = strval(tmp2);
  72.             if(level > 15) return SendClientMessage(playerid, red, "ERROR:Max BIA level is 15!");
  73.             if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: /osetbia [name] [level]");
  74.             if(isnull(tmp2)) return SendClientMessage(playerid, red, "ERROR: You must input a level");
  75.             format(file,sizeof(file),"/ladmin/users/%s.sav",udb_encode(tmp));
  76.             if(!fexist(file)) return SendClientMessage(playerid, red, "ERROR: that account don't even exist!");
  77.             dini_Set(file,"BIA",tmp2);
  78.             new year,month,day;   getdate(year, month, day); new hour,minute,second; gettime(hour,minute,second);
  79.             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 );
  80.             SendClientMessage(playerid,yellow,string);
  81.             PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
  82.     }
  83.     return 1;
  84. }
  85. new BIAColor[MAX_PLAYERS] = 0;
  86. forward public BIAHIGHLIGHT(playerid);
  87. public BIAHIGHLIGHT(playerid){
  88.     if(BIAColor[playerid] == 0) SetPlayerColor(playerid, 0xFFFFFFFF), BIAColor[playerid] = 1;
  89.     else if(BIAColor[playerid] == 1) SetPlayerColor(playerid, 0x2C2727FF), BIAColor[playerid] = 0;
  90. }
  91. CMD:biahi(playerid, params[]) {
  92.     if(PlayerInfo[playerid][BIA] >= 7) {
  93.         SetTimerEx("BIAHIGHLIGHT", 1000, 1, "u", playerid);
  94.         CMDMessageToBIA(playerid,"BiAHighLight");
  95.     } else return SendClientMessage(playerid, red, "ERROR: You need to be BiA level 7+ to use this command!");
  96.     return 1;
  97. }
  98. CMD:biabase(playerid,params[]) {
  99.     if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biabase again!");
  100.     if(PlayerInfo[playerid][BIA] >= 1) {
  101.     if(PlayerInfo[playerid][Jailed] == 1) return SendClientMessage(playerid,COLOR_BRIGHTRED,"You cannot escape your punishment!");
  102.     TeleTimer[playerid] = SetTimerEx("ttimer", 1000, true, "i",playerid);
  103.     tseconds[playerid] = 6;
  104.     format(tstring,45,"You Must wait %d seconds before teleporting", tseconds[playerid]-1);
  105.     if(PlayerInfo[playerid][Level] == 0) SendClientMessage(playerid,COLOR_LIGHTBLUE, tstring);
  106.     vCount[playerid] = 1;
  107.     Tx[playerid] = 2762.9824;
  108.     Ty[playerid] = -2453.9502;
  109.     Tz[playerid] = 13.5354;
  110.     Ti[playerid] = 0;
  111.     new string[128];
  112.     new dsname[MAX_PLAYER_NAME];
  113.     format(telestring,43,"~b~[] ~r~BiA base ~b~[]");
  114.     GetPlayerName(playerid, dsname, sizeof(dsname));
  115.     format(string, sizeof(string), "{037683}[TELE]:{00AABC}%s Has Just Teleported To [BiA] base ", dsname);
  116.     SendClientMessageToAll(COLOR_ORANGE, string);
  117.     } else return SendClientMessage(playerid,red,"ERROR: You need to be a [BiA] member to use this command");
  118.     SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  119.     CMDMessageToBIA(playerid, "BiABase");
  120.     return 1;
  121. }
  122. CMD:biaskin1(playerid,params[]) {
  123.     #pragma unused params
  124.     if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaskin1 again!");
  125.     if(PlayerInfo[playerid][BIA] >= 1) {
  126.     SetPlayerSkin(playerid,46);
  127.     CMDMessageToBIA(playerid,"BiASkin1");
  128.     } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be BiA member to use this command", "OK", "Cancel");
  129.     SetPVarInt(playerid, "BIAABUSE", GetTickCount()+2000);
  130.     return 1;
  131. }
  132. CMD:biaskin2(playerid,params[]) {
  133.     #pragma unused params
  134.     if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaskin2 again!");
  135.     if(PlayerInfo[playerid][BIA] >= 1) {
  136.     SetPlayerSkin(playerid,270);
  137.     CMDMessageToBIA(playerid,"BiASkin2");
  138.     } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be BiA member to use this command", "OK", "Cancel");
  139.     SetPVarInt(playerid, "BIAABUSE", GetTickCount()+2000);
  140.     return 1;
  141. }
  142. CMD:biaskin3(playerid,params[]) {
  143.     #pragma unused params
  144.     if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaskin3 again!");
  145.     if(PlayerInfo[playerid][BIA] >= 1) {
  146.     SetPlayerSkin(playerid,120);
  147.     CMDMessageToBIA(playerid,"BiASkin3");
  148.     } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be BiA member to use this command", "OK", "Cancel");
  149.     SetPVarInt(playerid, "BIAABUSE", GetTickCount()+2000);
  150.     return 1;
  151. }
  152. CMD:biaskin4(playerid,params[]) {
  153.     #pragma unused params
  154.     if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaskin4 again!");
  155.     if(PlayerInfo[playerid][BIA] >= 1) {
  156.     SetPlayerSkin(playerid,171);
  157.     CMDMessageToBIA(playerid,"BiASkin4");
  158.     } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be BiA member to use this command", "OK", "Cancel");
  159.     SetPVarInt(playerid, "BIAABUSE", GetTickCount()+2000);
  160.     return 1;
  161. }
  162. CMD:biaskin5(playerid,params[]) {
  163.     #pragma unused params
  164.     if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaskin5 again!");
  165.     if(PlayerInfo[playerid][BIA] >= 1) {
  166.     SetPlayerSkin(playerid,141);
  167.     CMDMessageToBIA(playerid,"BiASkin5");
  168.     } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be BiA member to use this command", "OK", "Cancel");
  169.     SetPVarInt(playerid, "BIAABUSE", GetTickCount()+2000);
  170.     return 1;
  171. }
  172. CMD:biasay(playerid,params[]) {
  173.     #pragma unused params
  174.     if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biasay again!");
  175.     if(PlayerInfo[playerid][BIA] >= 3) {
  176.         if(isnull(params)) return SendClientMessage(playerid,COLOR_RED, "USAGE: /biasay [text]");
  177.         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]);
  178.         SendClientMessageToAll(COLOR_BRIGHTRED,string);
  179.         return SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  180.     } else return SendClientMessage(playerid,COLOR_RED,"ERROR: You need to be level 2+ BiA member to use this command!");
  181. }
  182. CMD:biao(playerid, params[])
  183. {
  184.     if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid, red, "ERROR: You need to be logged in to use this command!");
  185.     if(PlayerInfo[playerid][BIA] > 9)
  186.     {
  187.         new opermessage[256];
  188.         format(opermessage, sizeof opermessage, "{C3C3C3}[BiAManagement] | %s | {3036E9}%s: {A1C287}%s", PlayerName2(playerid), GetBiARank(playerid), params);
  189.         for(new i = 0; i < MAX_PLAYERS; i++)
  190.         {
  191.             if(PlayerInfo[i][BIA] >= 10 && PlayerInfo[i][LoggedIn] == 1) SendClientMessage(i, -1, opermessage);
  192.         }
  193.     } else return ShowPlayerDialog(playerid, 3245, DIALOG_STYLE_MSGBOX, "ERROR", "{FF0000}You need to be [BiA] rank 10+ to use this command!", "Ok", "");
  194.     return 1;
  195. }
  196. CMD:biatune(playerid, params[]) {
  197.     if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid, red, "ERROR : You need to be Logged in to use this command");
  198.     if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biatune again!");
  199.     if(PlayerInfo[playerid][BIA] >= 1) {
  200.         new vehicleid = GetPlayerVehicleID(playerid);
  201.         BIATune(vehicleid);
  202.         SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  203.         CMDMessageToBIA(playerid, "BiATune");
  204.         return PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
  205.     } else return SendClientMessage(playerid , red, "ERROR : You need to be [BiA] member to use this command!");
  206. }
  207. BIATune(vehicleid)
  208. {
  209.     ChangeVehicleColor(vehicleid,0,1);
  210.     AddVehicleComponent(vehicleid, 1010);
  211.     AddVehicleComponent(vehicleid, 1087);
  212.     AddVehicleComponent(vehicleid,1080);
  213.     return 1;
  214. }
  215. CMD:brothersinarms(playerid,params[])
  216. {
  217.     #pragma unused params
  218.     new count = 0;
  219.     new string[128];
  220.     new ChangeColor;
  221.     new BIAR[128];
  222.     new BIADUTY[128];
  223.     if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
  224.     SendClientMessage(playerid, 0x037683FF, " ");
  225.     SendClientMessage(playerid, 0x037683FF, "__________ |- Online Brothers In Arms Crew Members -| __________");
  226.     SendClientMessage(playerid, 0x037683FF, " ");
  227.     for(new i = 0; i < MAX_PLAYERS; i++)
  228.     {
  229.         if(!IsPlayerConnected(i)) continue;
  230.         if(PlayerInfo[i][LoggedIn] == 0) continue;
  231.         if(PlayerInfo[i][BIA] == 0) continue;
  232.  
  233.         if(PlayerInfo[i][BIA] == 1) { BIAR = "New Brother"; ChangeColor = 0x00FFFFFF; }
  234.         if(PlayerInfo[i][BIA] == 2) { BIAR = "Young Brother"; ChangeColor = 0x8B008BFF; }
  235.         if(PlayerInfo[i][BIA] == 3) { BIAR = "Mini Brother"; ChangeColor = 0xFF00FFFF; }
  236.         if(PlayerInfo[i][BIA] == 4) { BIAR = "Senior Brother"; ChangeColor = 0xFF0000FF; }
  237.         if(PlayerInfo[i][BIA] == 5) { BIAR = "Trustfull Brother"; ChangeColor = 0xFFFF00FF; }
  238.         if(PlayerInfo[i][BIA] == 6) { BIAR = "Loyal Brother"; ChangeColor = 0xA52A2AFF; }
  239.         if(PlayerInfo[i][BIA] == 7) { BIAR = "Old Brother"; ChangeColor = 0xFF8000FF; }
  240.         if(PlayerInfo[i][BIA] == 8) { BIAR = "Special Brother"; ChangeColor = 0xA52A2AFF; }
  241.         if(PlayerInfo[i][BIA] == 9) { BIAR = "Vice In Charge Brother"; ChangeColor = 0x105F00FF; }
  242.         if(PlayerInfo[i][BIA] == 10) { BIAR = "Vice Brother"; ChangeColor = 0x000D5FFF; }
  243.         if(PlayerInfo[i][BIA] == 11) { BIAR = "Combat Brother"; ChangeColor = 0xFF00FFFF; }
  244.         if(PlayerInfo[i][BIA] == 12) { BIAR = "Top Brother"; ChangeColor = 0x01DF01FF; }
  245.         if(PlayerInfo[i][BIA] == 13) { BIAR = "Head Brother"; ChangeColor = 0x190707FF; }
  246.         if(PlayerInfo[i][BIA] == 14) { BIAR = "Ultra Brother"; ChangeColor = 0xDF01A5FF; }
  247.         if(PlayerInfo[i][BIA] == 15) { BIAR = "Chief"; ChangeColor = 0x0000FFFF; }
  248.  
  249.         if(BIADutyPlaying[i] == 0) BIADUTY = "{FF0000}Playing.";
  250.         if(BIADutyPlaying[i] == 1) BIADUTY = "{FF0000}Away from the keyboard.";
  251.  
  252.         format(string, 128, "BiA Rank: %d - %s (ID:%i) | %s | %s",PlayerInfo[i][BIA], PlayerName2(i),i, BIAR, BIADUTY);
  253.         SendClientMessage(playerid, ChangeColor, string);
  254.         count++;
  255.     }
  256.     if (count == 0) SendClientMessage(playerid,0x037683FF,"No online BiA Members");
  257.     SendClientMessage(playerid, 0x037683FF, "_________________________________________________");
  258.     return 1;
  259. }
  260. CMD:biamembers(playerid, params[]) return cmd_brothersinarms(playerid, params);
  261. CMD:biaafk(playerid,params[]) {
  262.     #pragma unused params
  263.     if(PlayerInfo[playerid][BIA] >= 1) {
  264.         if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaafk again!");
  265.         new string[256],kuldoneve[MAX_PLAYER_NAME];
  266.         SendClientMessage(playerid,0x99FF00AA,"Type /biaback when you back.");
  267.         GameTextForPlayer(playerid,"~r~ Are you now AFK", 5000, 1);
  268.         AFK[playerid] = Create3DTextLabel("Brothers In Arms Away From Keyboard!", 0xFF0000FF, 0.0, 0.0, 2.0, 40, 0, 0);
  269.         Attach3DTextLabelToPlayer(AFK[playerid],playerid, 0.0, 0.0, 0.4);
  270.         TogglePlayerControllable(playerid, 0);
  271.         GetPlayerName(playerid, kuldoneve, sizeof(kuldoneve));
  272.         format(string, sizeof(string), "{037683}[BiAAfk] {1DCBDE}Brothers in Arms {3036E9}| %s | %s {1DCBDE}Has {FFEA6B}'Gone on a Break!'",GetBiARank(playerid), kuldoneve, playerid);
  273.         SendClientMessageToAll(COLOR_BLUE, string);
  274.         CMDMessageToBIA(playerid, "BiAAfk");
  275.         BIADutyPlaying[playerid] = 1;
  276.     } else return SendClientMessage(playerid,COLOR_RED,"ERROR: You need to be [BiA]Member to use this command.");
  277.     SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  278.     return 1;
  279. }
  280. CMD:biaback(playerid,params[]) {
  281.     if(PlayerInfo[playerid][BIA] >= 1) {
  282.         if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaback again!");
  283.         new string[128],kuldoneve[MAX_PLAYER_NAME];
  284.         Delete3DTextLabel(AFK[playerid]);
  285.         GameTextForPlayer(playerid,"~g~ Welcome Back", 5000, 1);
  286.         TogglePlayerControllable(playerid, 1);
  287.         GetPlayerName(playerid, kuldoneve, sizeof(kuldoneve));
  288.         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);
  289.         SendClientMessageToAll(COLOR_BLUE, string);
  290.         CMDMessageToBIA(playerid, "BiABack");
  291.         BIADutyPlaying[playerid] = 0;
  292.     } else return SendClientMessage(playerid,COLOR_RED,"ERROR: You need to be [BiA]Member to use this command.");
  293.     SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  294.     return 1;
  295. }
  296. CMD:biaru(playerid, params[])
  297. {
  298.     ShowPlayerDialog(playerid, 5385, DIALOG_STYLE_MSGBOX, "BiA Main Rules",
  299.     "Dont abuse weaps cmd\n\
  300.    Dont use foul language\n\
  301.    Dont use hacks or illegal mods while your in team\n\
  302.    Dont disrespect any other member's even if they are lower than you or kill any of your team mates\n\
  303.    Dont disrespect chief or ultra brother\n\
  304.    Note: If you want to apply for BiA:\n\
  305.    1- Register at Bttdm.com (if your not registered)\n\
  306.    2- look for BiA Crew Board at the donators group and make an app\n\
  307.    3- Wait Patiently for the Management's reply on your app and members opnions.", "Ok", "");
  308.     new string[256];
  309.     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);
  310.     CMDMessageToBIA(playerid, "BiARU");
  311.     return 1;
  312. }
  313. CMD:biaweaps(playerid,params[]) {
  314.     if(GetPVarInt(playerid, "WEAPSABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biaweaps again!");
  315.     if(PlayerInfo[playerid][BIA] >= 1) {
  316.         GivePlayerWeapon(playerid,26,9000); GivePlayerWeapon(playerid,31,9000); GivePlayerWeapon(playerid,24,9000);
  317.         GivePlayerWeapon(playerid,34,9000); GivePlayerWeapon(playerid,32,9000); GivePlayerWeapon(playerid, 43, 9000);
  318.         GivePlayerWeapon(playerid,8,9000); GivePlayerWeapon(playerid, 46, 9000);
  319.         new string[128],kuldoneve[MAX_PLAYER_NAME];
  320.         GetPlayerName(playerid, kuldoneve, sizeof(kuldoneve));
  321.         format(string, sizeof(string), "{037683}[BiAWeaps] {1DCBDE}Brothers in Arms {3036E9}| %s | %s {1DCBDE}now used {FF0000}/biaweaps.",GetBiARank(playerid), kuldoneve, playerid);
  322.         SendClientMessageToAll(COLOR_BLUE, string);
  323.         CMDMessageToBIA(playerid,"BiAWeaps");
  324.         SetPVarInt(playerid, "WEAPSABUSE", GetTickCount()+5000);
  325.     } else return SendClientMessage(playerid,COLOR_RED,"ERROR: You must be a [BiA] member to use this command");
  326.     return 1;
  327. }
  328. #define MAX_BIANL 7
  329. new BiANL[MAX_REPORTS][128];
  330.  
  331. CMD:setnlbia(playerid,params[]) {
  332.     if(PlayerInfo[playerid][BIA] >= 14)
  333.     {
  334.         if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: /setnlbia [text]");
  335.         new str[128];
  336.         format(str, sizeof(str), "{B4B7B7}[NewNote] {FF0000}'%s' {B4B7B7}| By: {FF0000}%s(%d)", params, pName(playerid), playerid);
  337.         MessageToBIA(COLOR_WHITE,str);
  338.         format(str, sizeof(str), "[Note] ~ '%s' by %s", params, pName(playerid));
  339.         for(new i = 1; i < MAX_BIANL-1; i++) BiANL[i] = BiANL[i+1];
  340.         BiANL[MAX_BIANL-1] = str;
  341.     } else return SendClientMessage(playerid, red, "ERROR: You need to be [BiA] Member to use this command.");
  342.     return 1;
  343. }
  344. CMD:clearbianl(playerid, params[])
  345. {
  346.     if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid, red, "ERROR: You need to be logged in to use this command.");
  347.     if(PlayerInfo[playerid][BIA] >= 14)
  348.     {
  349.         for(new i = 1; i < MAX_BIANL; i++) BiANL[i] = "<none>";
  350.         CMDMessageToBIA(playerid, "ClearBiANL");
  351.         new string[128]; format(string, sizeof string, "{FF0000}%s(%d) {00FFFF}has cleared BiA notes list.", pName(playerid), playerid);
  352.         MessageToBIA(-1, string);
  353.     }
  354.     return 1;
  355. }
  356. CMD:bianl(playerid,params[]) {
  357.     #pragma unused params
  358.     if(PlayerInfo[playerid][BIA] >= 1) {
  359.         new BNCOUNT;
  360.         SendClientMessage(playerid, grey, " ");
  361.         SendClientMessage(playerid, grey, "_______________ ~ BiA Note list ~ _______________");
  362.         SendClientMessage(playerid, grey, " ");
  363.         for(new i = 1; i < MAX_BIANL; i++)
  364.         {
  365.             if(strcmp(BiANL[i], "<none>", true) != 0) { BNCOUNT++; SendClientMessage(playerid,0x81DEE9FF,BiANL[i]); }
  366.         }
  367.         if(BNCOUNT == 0) SendClientMessage(playerid,red,"There have been no note in the list.");
  368.         SendClientMessage(playerid, grey, "_______________________________________________");
  369.         SendClientMessage(playerid, grey, " ");
  370.     } else SendClientMessage(playerid,red,"ERROR: You need to be [BiA] Member to use this command.");
  371.     return 1;
  372. }
  373. CMD:settempbia(playerid,params[]) {
  374.     if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /settempbia again!");
  375.     if(PlayerInfo[playerid][LoggedIn] == 1) {
  376.             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");
  377.             new tmp[128], tmp2[128], Index;     tmp = strtok(params,Index), tmp2 = strtok(params,Index);
  378.             if(isnull(params)) return SendClientMessage(playerid, 0xFF0000AA, "USAGE: /settemtbia [playerid] [level]");
  379.             new player1, level, playername[MAX_PLAYER_NAME], adminname[MAX_PLAYER_NAME], string[128];
  380.             player1 = strval(tmp);
  381.             if(isnull(tmp2)) return SendClientMessage(playerid, 0xFF0000AA, "USAGE: /settempbia [playerid] [level]");
  382.             level = strval(tmp2);
  383.  
  384.             if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID) {
  385.                 if(PlayerInfo[player1][LoggedIn] == 1) {
  386.                     if(level > 9 ) return SendClientMessage(playerid,0xFF0000AA,"ERROR: Max [BIA] temp level is 9");
  387.                     if(level == PlayerInfo[player1][BIA]) return SendClientMessage(playerid,0xFF0000AA,"ERROR: Player is already this [BIA] level");
  388.                     CMDMessageToBIA(playerid,"SetTempBiA");
  389.                     GetPlayerName(player1, playername, sizeof(playername)); GetPlayerName(playerid, adminname, sizeof(adminname));
  390.                     new year,month,day;   getdate(year, month, day); new hour,minute,second; gettime(hour,minute,second);
  391.  
  392.                     if(level > 0) format(string,sizeof(string)," %s has set you're [BiA] Status to level %d",adminname, level);
  393.                     else format(string,sizeof(string)," %s has set youre [BiA] Status to level %d",adminname, level);
  394.                     SendClientMessage(player1,0x00FFFFAA,string);
  395.  
  396.                     if(level > PlayerInfo[player1][BIA]) GameTextForPlayer(player1,"~g~[BiA] LEVEL UP", 2000, 3);
  397.                     else GameTextForPlayer(player1,"~r~[BiA] LEVEL DOWN", 2000, 3);
  398.  
  399.                     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);
  400.                     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);
  401.                     PlayerInfo[player1][BIA] = level;
  402.                     SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  403.                     return PlayerPlaySound(player1,1057,0.0,0.0,0.0);
  404.                 } else return SendClientMessage(playerid,0xFF0000AA,"ERROR: Player must be registered and logged in to be setted as BiA member");
  405.             } else return SendClientMessage(playerid, 0xFF0000AA, "Player is not connected");
  406.     } else return SendClientMessage(playerid,0xFF0000AA,"ERROR: You must be logged in to use this commands");
  407. }
  408. CMD:setbia(playerid,params[]) {
  409.     if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /setbia again!");
  410.     if(PlayerInfo[playerid][LoggedIn] == 1) {
  411.         if(IsPlayerAdmin(playerid) && PlayerInfo[playerid][Level] >= 8 || PlayerInfo[playerid][BIA] >= 10)
  412.         {
  413.             new tmp[128], tmp2[128], Index;     tmp = strtok(params,Index), tmp2 = strtok(params,Index);
  414.             if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: /setbia [playerid] [level]");
  415.             new player1, level, playername[MAX_PLAYER_NAME], adminname[MAX_PLAYER_NAME], string[128];
  416.             player1 = strval(tmp);
  417.             if(isnull(tmp2)) return SendClientMessage(playerid, red, "USAGE: /setbia [playerid] [level]");
  418.             level = strval(tmp2);
  419.  
  420.             if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID) {
  421.                 if(PlayerInfo[player1][LoggedIn] == 1) {
  422.                     if(level > 15 ) return SendClientMessage(playerid,red,"ERROR: Max BiA Level is 15");
  423.                     if(level == PlayerInfo[player1][BIA]) return SendClientMessage(playerid,red,"ERROR: Player is already this BiA level");
  424.                     MessageToAdmins(playerid,"SetBiA");
  425.                     CMDMessageToBIA(playerid, "SetBiA");
  426.                     GetPlayerName(player1, playername, sizeof(playername)); GetPlayerName(playerid, adminname, sizeof(adminname));
  427.                     new year,month,day;   getdate(year, month, day); new hour,minute,second; gettime(hour,minute,second);
  428.  
  429.                     if(level > 0) format(string,sizeof(string)," %s has set you're [BiA] Status to level %d",adminname, level);
  430.                     else format(string,sizeof(string)," %s has set youre [BiA] Status to level %d",adminname, level);
  431.                     SendClientMessage(player1,yellow,string);
  432.  
  433.                     if(level > PlayerInfo[player1][BIA]) GameTextForPlayer(player1,"~g~[BiA] LEVEL UP", 2000, 3);
  434.                     else GameTextForPlayer(player1,"~r~[BiA] LEVEL DOWN", 2000, 3);
  435.  
  436.                     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);
  437.                     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);
  438.                     dUserSetINT(PlayerName2(player1)).("BIA",(level));
  439.                     PlayerInfo[player1][BIA] = level;
  440.                     SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  441.                     return PlayerPlaySound(player1,1057,0.0,0.0,0.0);
  442.                 } else return SendClientMessage(playerid,red,"ERROR: Player must be registered and logged in to be set as a [BiA] member");
  443.             } else return SendClientMessage(playerid, red, "Player is not connected");
  444.         } else return SendClientMessage(playerid,red,"ERROR: you do not have the privilegie to set [BiA]'s");
  445.     } else return SendClientMessage(playerid,red,"ERROR: You must be logged in to use this commands");
  446. }
  447. // BiA team privet message
  448. CMD:bia(playerid,params[]) {
  449.     #pragma unused params
  450.     if(PlayerInfo[playerid][LoggedIn] == 1) {
  451.         if(PlayerInfo[playerid][BIA] >= 1) {
  452.             new string[128];
  453.             format(string, sizeof(string), "{037683}[BiAChat] {00FFFF}| New Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
  454.             if(PlayerInfo[playerid][BIA] >= 2)
  455.                 format(string, sizeof(string), "{037683}[BiAChat] {8B008B}| Young Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
  456.             if(PlayerInfo[playerid][BIA] >= 3)
  457.                 format(string, sizeof(string), "{037683}[BiAChat] {FF00FF}| Mini Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
  458.             if(PlayerInfo[playerid][BIA] >= 4)
  459.                 format(string, sizeof(string), "{037683}[BiAChat] {FF0000}| Senior Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
  460.             if(PlayerInfo[playerid][BIA] >= 5)
  461.                 format(string, sizeof(string), "{037683}[BiAChat] {FFFF00}| Trustfull Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
  462.             if(PlayerInfo[playerid][BIA] >= 6)
  463.                 format(string, sizeof(string), "{037683}[BiAChat] {A52A2A}| Loyal Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
  464.             if(PlayerInfo[playerid][BIA] >= 7)
  465.                 format(string, sizeof(string), "{037683}[BiAChat] {FF8000}| Old Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
  466.             if(PlayerInfo[playerid][BIA] >= 8)
  467.                 format(string, sizeof(string), "{037683}[BiAChat] {A52A2A}| Special Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
  468.             if(PlayerInfo[playerid][BIA] >= 9)
  469.                 format(string, sizeof(string), "{037683}[BiAChat] {105F00}| Vice In Charge Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
  470.             if(PlayerInfo[playerid][BIA] >= 10)
  471.                 format(string, sizeof(string), "{037683}[BiAChat] {000D5F}| Vice Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
  472.             if(PlayerInfo[playerid][BIA] >= 11)
  473.                 format(string, sizeof(string), "{037683}[BiAChat] {FF00FF}| Combat Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
  474.             if(PlayerInfo[playerid][BIA] >= 12)
  475.                 format(string, sizeof(string), "{037683}[BiAChat] {01DF01}| Top Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
  476.             if(PlayerInfo[playerid][BIA] >= 13)
  477.                 format(string, sizeof(string), "{037683}[BiAChat] {190707}| Head Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
  478.             if(PlayerInfo[playerid][BIA] >= 14)
  479.                 format(string, sizeof(string), "{037683}[BiAChat] {DF01A5}| Ultra Brother | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
  480.             if(PlayerInfo[playerid][BIA] >= 15)
  481.                 format(string, sizeof(string), "{0000FF}[BiAChat] {0000FF}| Chief | %s: {77FE85}%s", PlayerName2(playerid), params[0] );
  482.             MessageToBIA(0x037683FF,string);
  483.         } else return SendClientMessage(playerid,red,"ERROR: You need to be [BiA] Member to use this command");
  484.     } else return SendClientMessage(playerid,red,"ERROR: You need to be Logged in to use this command");
  485.     return 1;
  486. }
  487. CMD:biah(playerid,params[]) {
  488.     if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biah again!");
  489.     if(PlayerInfo[playerid][BIA] >= 1) {
  490.         CMDMessageToBIA(playerid, "BiAH");
  491.         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));
  492.         MessageToBIA(red,string);
  493.         SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  494.     } else return SendClientMessage(playerid,red,"ERROR: You need to be a [BiA] member to use this command");
  495.     return 1;
  496. }
  497. GetBiARank(playerid)
  498. {
  499.     new handle[500], string[128];
  500.     switch(PlayerInfo[playerid][BIA])
  501.     {
  502.         case 1: {
  503.             format(string, sizeof string, "New Brother");
  504.             strcat(handle, string);
  505.         }
  506.         case 2: {
  507.             format(string, sizeof string, "Young Brother");
  508.             strcat(handle, string);
  509.         }
  510.         case 3: {
  511.             format(string, sizeof string, "Mini Brother");
  512.             strcat(handle, string);
  513.         }
  514.         case 4: {
  515.             format(string, sizeof string, "Senior Brother");
  516.             strcat(handle, string);
  517.         }
  518.         case 5: {
  519.             format(string, sizeof string, "Trustfull Brother");
  520.             strcat(handle, string);
  521.         }
  522.         case 6: {
  523.             format(string, sizeof string, "Loyal Brother");
  524.             strcat(handle, string);
  525.         }
  526.         case 7: {
  527.             format(string, sizeof string, "Old Brother");
  528.             strcat(handle, string);
  529.         }
  530.         case 8: {
  531.             format(string, sizeof string, "Special Brother");
  532.             strcat(handle, string);
  533.         }
  534.         case 9: {
  535.             format(string, sizeof string, "Vice In Charge Brother");
  536.             strcat(handle, string);
  537.         }
  538.         case 10: {
  539.             format(string, sizeof string, "Vice Brother");
  540.             strcat(handle, string);
  541.         }
  542.         case 11: {
  543.             format(string, sizeof string, "Combat Brother");
  544.             strcat(handle, string);
  545.         }
  546.         case 12: {
  547.             format(string, sizeof string, "Top Brother");
  548.             strcat(handle, string);
  549.         }
  550.         case 13: {
  551.             format(string, sizeof string, "Head Brother");
  552.             strcat(handle, string);
  553.         }
  554.         case 14: {
  555.             format(string, sizeof string, "Ultra Brother");
  556.             strcat(handle, string);
  557.         }
  558.         case 15: {
  559.             format(string, sizeof string, "Chief");
  560.             strcat(handle, string);
  561.         }
  562.     }
  563.     return handle;
  564. }
  565. CMD:biahu(playerid,params[]) {
  566.     #pragma unused params
  567.     if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
  568.     if(PlayerInfo[playerid][BIA] >= 1) {
  569.         if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biahu again!");
  570.         if (!IsPlayerInAnyVehicle(playerid)) {
  571.             CarSpawner(playerid,425);
  572.             CMDMessageToBIA(playerid,"BiAHunter");
  573.             return SendClientMessage(playerid,yellow,"Enjoy your hunter.");
  574.         } else return SendClientMessage(playerid,red,"Error: You already have a vehicle");
  575.     } else return SendClientMessage(playerid,red,"ERROR: You need to be [BiA] level 1+ to use this command");
  576. }
  577. CMD:biay(playerid,params[]) {
  578.     #pragma unused params
  579.     if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
  580.     if(PlayerInfo[playerid][BIA] >= 1) {
  581.         if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biay again!");
  582.         if (!IsPlayerInAnyVehicle(playerid)) {
  583.             CarSpawner(playerid,520);
  584.             CMDMessageToBIA(playerid,"BiAHydra");
  585.             SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  586.             return SendClientMessage(playerid,yellow,"Enjoy your hydra.");
  587.         } else return SendClientMessage(playerid,red,"Error: You already have a vehicle");
  588.     } else return SendClientMessage(playerid,red,"ERROR: You need to be [BiA] level 1+ to use this command");
  589. }
  590. CMD:biacar1(playerid,params[]) {
  591.     #pragma unused params
  592.         if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biacar1 again!");
  593.         if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
  594.         if(PlayerInfo[playerid][BIA] >= 1) {
  595.         if (!IsPlayerInAnyVehicle(playerid)) {
  596.             CarSpawner(playerid,541);
  597.             AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
  598.             CMDMessageToBIA(playerid,"BiACar1");
  599.             SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  600.             return SendClientMessage(playerid,0x00FFFFAA,"You are spawned BIA bullet!");
  601.         } else return SendClientMessage(playerid,0xFF0000AA,"Error: You already have a vehicle");
  602.         } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be [BiA] level 1+ to use this command", "OK", "Cancel");
  603. }
  604.  
  605. CMD:biacar2(playerid,params[]) {
  606.     #pragma unused params
  607.         if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biacar2 again!");
  608.         if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
  609.         if(PlayerInfo[playerid][BIA] >= 1) {
  610.         if (!IsPlayerInAnyVehicle(playerid)) {
  611.             CarSpawner(playerid,444);
  612.             AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
  613.             CMDMessageToBIA(playerid,"BiACar2");
  614.             SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  615.             return SendClientMessage(playerid,0x00FFFFAA,"You are spawned BIA Monster Truck A");
  616.         } else return SendClientMessage(playerid,0xFF0000AA,"Error: You already have a vehicle");
  617.         } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be [BiA] level 1+ to use this command", "OK", "Cancel");
  618. }
  619. CMD:biacar3(playerid,params[]) {
  620.     #pragma unused params
  621.         if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biacar3 again!");
  622.         if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
  623.         if(PlayerInfo[playerid][BIA] >= 1) {
  624.         if (!IsPlayerInAnyVehicle(playerid)) {
  625.             CarSpawner(playerid,560);
  626.             AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
  627.             CMDMessageToBIA(playerid,"BiACar3");
  628.             SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  629.             return SendClientMessage(playerid,0x00FFFFAA,"You are spawned BiA Sultan.");
  630.         } else return SendClientMessage(playerid,0xFF0000AA,"Error: You already have a vehicle");
  631.         } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be [BiA] level 1+ to use this command", "OK", "Cancel");
  632. }
  633. CMD:biacar4(playerid,params[]) {
  634.     #pragma unused params
  635.         if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biacar4 again!");
  636.         if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
  637.         if(PlayerInfo[playerid][BIA] >= 1) {
  638.         if (!IsPlayerInAnyVehicle(playerid)) {
  639.             CarSpawner(playerid,411);
  640.             AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
  641.             CMDMessageToBIA(playerid,"BiACar4");
  642.             SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  643.             return SendClientMessage(playerid,0x00FFFFAA,"You are spawned BiA Infernus.");
  644.         } else return SendClientMessage(playerid,0xFF0000AA,"Error: You already have a vehicle");
  645.         } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be [BiA] level 1+ to use this command", "OK", "Cancel");
  646. }
  647. CMD:biacar5(playerid,params[]) {
  648.     #pragma unused params
  649.         if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biacar5 again!");
  650.         if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
  651.         if(PlayerInfo[playerid][BIA] >= 1) {
  652.         if (!IsPlayerInAnyVehicle(playerid)) {
  653.             CarSpawner(playerid,580);
  654.             AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
  655.             CMDMessageToBIA(playerid,"BiACar5");
  656.             SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  657.             return SendClientMessage(playerid,0x00FFFFAA,"You are spawned BiA Stafford.");
  658.         } else return SendClientMessage(playerid,0xFF0000AA,"Error: You already have a vehicle");
  659.         } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be [BiA] level 1+ to use this command", "OK", "Cancel");
  660. }
  661. CMD:biacar6(playerid,params[]) {
  662.     #pragma unused params
  663.         if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biacar6 again!");
  664.         if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
  665.         if(PlayerInfo[playerid][BIA] >= 3) {
  666.         if (!IsPlayerInAnyVehicle(playerid)) {
  667.             CarSpawner(playerid,502);
  668.             AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
  669.             CMDMessageToBIA(playerid,"BiACar6");
  670.             SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  671.             return SendClientMessage(playerid,0x00FFFFAA,"You are spawned BiA Hotring A.");
  672.         } else return SendClientMessage(playerid,0xFF0000AA,"Error: You already have a vehicle");
  673.         } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be [BiA] level 1+ to use this command", "OK", "Cancel");
  674. }
  675. CMD:biab(playerid,params[]) {
  676.     #pragma unused params
  677.         if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biab again!");
  678.         if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid,0xFF0000AA,"ERROR: You need to be Logged in to use this command");
  679.         if(PlayerInfo[playerid][BIA] >= 2) {
  680.         if (!IsPlayerInAnyVehicle(playerid)) {
  681.             CarSpawner(playerid,522);
  682.             AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
  683.             CMDMessageToBIA(playerid,"BiABike");
  684.             SetPVarInt(playerid, "BIAABUSE", GetTickCount()+5000);
  685.             return SendClientMessage(playerid,0x00FFFFAA,"You spawned BiA NRG-500!");
  686.         } else return SendClientMessage(playerid,0xFF0000AA,"Error: You already have a vehicle");
  687.         } else return ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ERROR", "You need to be [BiA] level 2+ to use this command", "OK", "Cancel");
  688. }
  689. CMD:biac(playerid, params[])
  690. {
  691.     if(PlayerInfo[playerid][BIA] >= 1) {
  692.     if(GetPVarInt(playerid, "BIAABUSE") > GetTickCount())return SendClientMessage(playerid, red, "You must wait before using /biac again!");
  693.     SetPlayerColor(playerid, black);
  694.     CMDMessageToBIA(playerid, "BiAc");
  695.     SendClientMessage(playerid, red, "You setted your color to black!");
  696.     SetPVarInt(playerid, "BIAABUSE", GetTickCount()+2000);
  697.     } else return SendClientMessage(playerid, red, "You need to be BiA member to use that command!");
  698.     return 1;
  699. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement