Advertisement
jlalt

Virus

Jul 28th, 2017
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 7.55 KB | None | 0 0
  1. //The Mafia Gate Commands.
  2. CMD:tmgate1o(playerid, params[])
  3. {
  4.     if(PlayerInfo[playerid][TM] >= 1)
  5.     {
  6.         new string[128];
  7.         MoveDynamicObject(tmgate1,2676.1999511719,1811.5,17.39999961853,3.0/*,0,357.99499511719*/);
  8.         CMDMessageToTM(playerid,"TMGATE1O");
  9.         format(string ,sizeof string,"Hello %s, The Mafia Society's gate 1 is opening, Please wait!",pName(playerid));
  10.         SendClientMessage(playerid,0xAFAFAFAA,string);
  11.     } else return ShowPlayerDialog(playerid, 40, DIALOG_STYLE_MSGBOX, "{ff0000}ERROR", "{ffff00}You need to be a{414141} [TM] - The Mafia Family {ffff00}member to use this command!", "Okay", "");
  12.     return 1;
  13. }
  14. CMD:tmgate1c(playerid, params[])
  15. {
  16.     if(PlayerInfo[playerid][TM] >= 1)
  17.     {
  18.         new string[128];
  19.         MoveDynamicObject(tmgate1,2690.2998046875,1809.599609375,17.39999961853,3.0/*,0,357.99499511719*/);
  20.         CMDMessageToTM(playerid,"TMGATE1C");
  21.         format(string ,sizeof string,"Yo %s, The Mafia Society's gate 1 is closing, Cya!",pName(playerid));
  22.         SendClientMessage(playerid,0xAFAFAFAA,string);
  23.     } else return ShowPlayerDialog(playerid, 40, DIALOG_STYLE_MSGBOX, "{ff0000}ERROR", "{ffff00}You need to be a{414141} [TM] - The Mafia Family {ffff00}member to use this command!", "Okay", "");
  24.     return 1;
  25. }
  26. CMD:tmgate2o(playerid, params[])
  27. {
  28.     if(PlayerInfo[playerid][TM] >= 1)
  29.     {
  30.         new string[128];
  31.         MoveDynamicObject(tmgate2,2800.1000976563,1547.5,12.300000190735,3.0/*,0,291.99462890625*/);
  32.         CMDMessageToTM(playerid,"TMGATE2O");
  33.         format(string ,sizeof string,"Hello %s, The Mafia Base's gate is opening, Please wait!",pName(playerid));
  34.         SendClientMessage(playerid,0xAFAFAFAA,string);
  35.     } else return ShowPlayerDialog(playerid, 40, DIALOG_STYLE_MSGBOX, "{ff0000}ERROR", "{ffff00}You need to be a{414141} [TM] - The Mafia Family {ffff00}member to use this command!", "Okay", "");
  36.     return 1;
  37. }
  38. CMD:tmgate2c(playerid, params[])
  39. {
  40.     if(PlayerInfo[playerid][TM] >= 1)
  41.     {
  42.         new string[128];
  43.         MoveDynamicObject(tmgate2,2802.400390625,1534.5,12.300000190735,3.0/*,0,292*/);
  44.         CMDMessageToTM(playerid,"TMGATE2C");
  45.         format(string ,sizeof string,"Yo %s, The Mafia Base's gate is closing, cya!",pName(playerid));
  46.         SendClientMessage(playerid,0xAFAFAFAA,string);
  47.     } else return ShowPlayerDialog(playerid, 40, DIALOG_STYLE_MSGBOX, "{ff0000}ERROR", "{ffff00}You need to be a{414141} [TM] - The Mafia Family {ffff00}member to use this command!", "Okay", "");
  48.     return 1;
  49. }
  50. CMD:tmgate3o(playerid, params[])
  51. {
  52.     if(PlayerInfo[playerid][TM] >= 1)
  53.     {
  54.         new string[128];
  55.         MoveDynamicObject(tmgate3,2892.6999511719,2225.8999023438,10,3.0/*,0,357.99499511719*/);
  56.         CMDMessageToTM(playerid,"TMGATE3O");
  57.         format(string ,sizeof string,"Hello %s, The Mafia Society's gate 3 is opening, Please wait!",pName(playerid));
  58.         SendClientMessage(playerid,0xAFAFAFAA,string);
  59.     } else return ShowPlayerDialog(playerid, 40, DIALOG_STYLE_MSGBOX, "{ff0000}ERROR", "{ffff00}You need to be a{414141} [TM] - The Mafia Family {ffff00}member to use this command!", "Okay", "");
  60.     return 1;
  61. }
  62. CMD:tmgate3c(playerid, params[])
  63. {
  64.     if(PlayerInfo[playerid][TM] >= 1)
  65.     {
  66.         new string[128];
  67.         MoveDynamicObject(tmgate3,2899.2001953125,2225.2001953125,10,3.0/*,0,357.99499511719*/);
  68.         CMDMessageToTM(playerid,"TMGATE3C");
  69.         format(string ,sizeof string,"Hello %s, The Mafia Society's gate 3 is closing!",pName(playerid));
  70.         SendClientMessage(playerid,0xAFAFAFAA,string);
  71.     } else return ShowPlayerDialog(playerid, 40, DIALOG_STYLE_MSGBOX, "{ff0000}ERROR", "{ffff00}You need to be a{414141} [TM] - The Mafia Family {ffff00}member to use this command!", "Okay", "");
  72.     return 1;
  73. }
  74. CMD:tmgate4o(playerid, params[])
  75. {
  76.     if(PlayerInfo[playerid][TM] >= 1)
  77.     {
  78.         new string[128];
  79.         MoveDynamicObject(tmgate4,2892.8000488281,2225.3000488281,10.10000038147,3.0/*,0,357.99499511719*/);
  80.         CMDMessageToTM(playerid,"TMGATE4O");
  81.         format(string ,sizeof string,"Hello %s, The Mafia Society's gate 4 is opening, Please wait!",pName(playerid));
  82.         SendClientMessage(playerid,0xAFAFAFAA,string);
  83.     } else return ShowPlayerDialog(playerid, 40, DIALOG_STYLE_MSGBOX, "{ff0000}ERROR", "{ffff00}You need to be a{414141} [TM] - The Mafia Family {ffff00}member to use this command!", "Okay", "");
  84.     return 1;
  85. }
  86. CMD:tmgate4c(playerid, params[])
  87. {
  88.     if(PlayerInfo[playerid][TM] >= 1)
  89.     {
  90.         new string[128];
  91.         MoveDynamicObject(tmgate4,2885.8000488281,2225.8999023438,10.10000038147,3.0/*,0,357.99499511719*/);
  92.         CMDMessageToTM(playerid,"TMGATE4C");
  93.         format(string ,sizeof string,"Hello %s, The Mafia Society's gate 4 is closing!",pName(playerid));
  94.         SendClientMessage(playerid,0xAFAFAFAA,string);
  95.  
  96.     } else return ShowPlayerDialog(playerid, 40, DIALOG_STYLE_MSGBOX, "{ff0000}ERROR", "{ffff00}You need to be a{414141} [TM] - The Mafia Family {ffff00}member to use this command!", "Okay", "");
  97.     return 1;
  98. }
  99. CMD:tmgate5o(playerid, params[])
  100. {
  101.     if(PlayerInfo[playerid][TM] >= 1)
  102.     {
  103.         new string[128];
  104.         MoveDynamicObject(tmgate5,2867.5,2226.3999023438,10.199999809265,3.0/*,0,357.98950195313*/);
  105.         CMDMessageToTM(playerid,"TMGATE5O");
  106.         format(string ,sizeof string,"Hello %s, The Mafia Society's gate 5 is opening, Please wait!",pName(playerid));
  107.         SendClientMessage(playerid,0xAFAFAFAA,string);
  108.     } else return ShowPlayerDialog(playerid, 40, DIALOG_STYLE_MSGBOX, "{ff0000}ERROR", "{ffff00}You need to be a{414141} [TM] - The Mafia Family {ffff00}member to use this command!", "Okay", "");
  109.     return 1;
  110. }
  111. CMD:tmgate5c(playerid, params[])
  112. {
  113.     if(PlayerInfo[playerid][TM] >= 1)
  114.     {
  115.         new string[128];
  116.         MoveDynamicObject(tmgate5,2875,2226.5,10.199999809265,3.0/*,0,357.98950195313*/);
  117.         CMDMessageToTM(playerid,"TMGATE5C");
  118.         format(string ,sizeof string,"Hello %s, The Mafia Society's gate 5 is closing!",pName(playerid));
  119.         SendClientMessage(playerid,0xAFAFAFAA,string);
  120.  
  121.     } else return ShowPlayerDialog(playerid, 40, DIALOG_STYLE_MSGBOX, "{ff0000}ERROR", "{ffff00}You need to be a{414141} [TM] - The Mafia Family {ffff00}member to use this command!", "Okay", "");
  122.     return 1;
  123. }
  124. CMD:tmgate6o(playerid, params[])
  125. {
  126.     if(PlayerInfo[playerid][TM] >= 1)
  127.     {
  128.         new string[128];
  129.         MoveDynamicObject(tmgate6,2869.3000488281,2226.8999023438,10.10000038147,3.0/*,0,357.98950195313*/);
  130.         CMDMessageToTM(playerid,"TMGATE6O");
  131.         format(string ,sizeof string,"Hello %s, The Mafia Society's gate 6 is opening, Please wait!",pName(playerid));
  132.         SendClientMessage(playerid,0xAFAFAFAA,string);
  133.     } else return ShowPlayerDialog(playerid, 40, DIALOG_STYLE_MSGBOX, "{ff0000}ERROR", "{ffff00}You need to be a{414141} [TM] - The Mafia Family {ffff00}member to use this command!", "Okay", "");
  134.     return 1;
  135. }
  136. CMD:tmgate6c(playerid, params[])
  137. {
  138.     if(PlayerInfo[playerid][TM] >= 1)
  139.     {
  140.         new string[128];
  141.         MoveDynamicObject(tmgate6,2861.6005859375,2226.7998046875,10.10000038147,3.0/*,0,357.98950195313*/);
  142.         CMDMessageToTM(playerid,"TMGATE6C");
  143.         format(string ,sizeof string,"Hello %s, The Mafia Society's gate 6 is closing!",pName(playerid));
  144.         SendClientMessage(playerid,0xAFAFAFAA,string);
  145.     } else return ShowPlayerDialog(playerid, 40, DIALOG_STYLE_MSGBOX, "{ff0000}ERROR", "{ffff00}You need to be a{414141} [TM] - The Mafia Family {ffff00}member to use this command!", "Okay", "");
  146.     return 1;
  147. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement