Advertisement
Fitri_Fahim

WTF

Apr 23rd, 2013
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 29.30 KB | None | 0 0
  1.  
  2. public OnPlayerCommandText(playerid, cmdtext[])
  3. {
  4.     if(!strcmp(cmdtext, "/me", true, 3)) // 3 is the length of /me
  5.     {
  6.         if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /me [Text]");
  7.         new str[128];
  8.         GetPlayerName(playerid, str, sizeof(str));
  9.         format(str, sizeof(str), "*%s %s", str, cmdtext[4]);
  10.         SendClientMessageToAll(0xFFFF00AA, str);
  11.         return 1;
  12.     }
  13.     if(!strcmp(cmdtext, "/AFK", true, 4)) // Afk System By Snep_Dock xD
  14.     {
  15.         if(!cmdtext[4])return SendClientMessage(playerid, 0xFF0000FF, "Please Use /Afk [Reasons]");
  16.         new str[128];
  17.         GetPlayerName(playerid, str, sizeof(str));
  18.         TogglePlayerControllable(playerid, 0);
  19.         format(str, sizeof(str), "> %s Is Afk Reasons : %s <", str, cmdtext[5]);
  20.         SendClientMessageToAll(0xFFFF00AA, str);
  21.         return 1;
  22.     }
  23.         if(!strcmp(cmdtext, "/back", true, 5)) // Afk System By Snep_Dock xD
  24.     {
  25.         new str[128];
  26.         GetPlayerName(playerid, str, sizeof(str));
  27.         TogglePlayerControllable(playerid, 1);
  28.         format(str, sizeof(str), "> %s Is Afk back from afk<", str);
  29.         TogglePlayerControllable(playerid, 1);
  30.         SendClientMessageToAll(0xFFFF00AA, str);
  31.         return 1;
  32.     }
  33.     if(strcmp(cmdtext, "/dance3", true) == 0)
  34.     {
  35.         SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE3);
  36.         SendClientMessage(playerid, COLOR_RED, "Your Dance");
  37.         return 1;
  38.     }
  39.     if(strcmp(cmdtext, "/wank", true)==0)
  40.     {
  41.         if (GetPlayerState(playerid)== 1)
  42.         {
  43.             ApplyAnimation(playerid,"PAULNMAC", "wank_loop", 1.800001, 1, 0, 0, 1, 600);
  44.         }
  45.         return 1;
  46.     }
  47.     if(strcmp(cmdtext, "/dance2", true) == 0)
  48.     {
  49.         SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2);
  50.         SendClientMessage(playerid, COLOR_RED, "You Are Dance");
  51.         return 1;
  52.     }
  53.     if(strcmp(cmdtext, "/dance1", true) == 0)
  54.     {
  55.         SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1);
  56.         SendClientMessage(playerid, COLOR_RED, "You Are Dance");
  57.         return 1;
  58.     }
  59.     if(!strcmp(cmdtext, "/clearmychat", true, 10))
  60.     {
  61.           new str[128];
  62.         GetPlayerName(playerid, str, sizeof(str));
  63.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000}/clearmychat", str);
  64.         SendClientMessageToAll(0xFFFF00AA, str);
  65.         SendClientMessage(playerid, 0xFFFFFFFF, "");
  66.         SendClientMessage(playerid, 0xFFFFFFFF, "");
  67.         SendClientMessage(playerid, 0xFFFFFFFF, "");
  68.         SendClientMessage(playerid, 0xFFFFFFFF, "");
  69.         SendClientMessage(playerid, 0xFFFFFFFF, "");
  70.         SendClientMessage(playerid, 0xFFFFFFFF, "");
  71.         SendClientMessage(playerid, 0xFFFFFFFF, "");
  72.         SendClientMessage(playerid, 0xFFFFFFFF, "");
  73.         SendClientMessage(playerid, 0xFFFFFFFF, "");
  74.         return 1;
  75.     }
  76.     if(!strcmp(cmdtext, "/lv", true, 10))
  77.     {
  78.         new str[128];
  79.         GetPlayerName(playerid, str, sizeof(str));
  80.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000}/lv", str);
  81.         SetPlayerPos(playerid,1959.7703,1343.7137,15.3746);
  82.         SendClientMessageToAll(0xFFFF00AA, str);
  83.         return 1;
  84.     }
  85.     if(!strcmp(cmdtext, "/boomboom", true, 10))
  86.     {
  87.         new Float:x, Float:y, Float:z;
  88.         GetPlayerPos(playerid, x, y, z);
  89.         new str[128];
  90.         GetPlayerName(playerid, str, sizeof(str));
  91.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000}Explode Boom", str);
  92.         SendClientMessageToAll(0xFFFF00AA, str);
  93.         CreateExplosion(x, y, z, 6, 60.0);
  94.         CreateExplosion(x, y, z, 7, 60.0);
  95.         CreateExplosion(x, y, z, 8, 60.0);
  96.         CreateExplosion(x, y, z, 1, 60.0);
  97.         CreateExplosion(x, y, z, 2, 60.0);
  98.         CreateExplosion(x, y, z, 3, 60.0);
  99.         return 1;
  100.     }
  101.     if(!strcmp(cmdtext, "/skatepark", true, 10))
  102.     {
  103.         new str[128];
  104.         GetPlayerName(playerid, str, sizeof(str));
  105.         format(str, sizeof(str), "{FF8000} {FF8000} %s{C0C0C0} has used {FF8000} /skatepark", str);
  106.         SetPlayerPos(playerid, 1917.235718, -1409.942505, 14.070313);
  107.         SendClientMessageToAll(0xFFFF00AA, str);
  108.         return 1;
  109.     }
  110.     if(!strcmp(cmdtext, "/grove", true, 10))
  111.     {
  112.         new str[128];
  113.         GetPlayerName(playerid, str, sizeof(str));
  114.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /grove", str);
  115.         SetPlayerPos(playerid,2491.1365,-1685.7610,13.5106);
  116.         GameTextForPlayer(playerid,"~r~Welcome to Grove Street",4000,3);
  117.         SendClientMessageToAll(0xFFFF00AA, str);
  118.         return 1;
  119.     }
  120.     if(!strcmp(cmdtext, "/aa", true, 10))
  121.     {
  122.         new str[128];
  123.         GetPlayerName(playerid, str, sizeof(str));
  124.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /aa", str);
  125.         SetPlayerPos(playerid,405.9053,2456.6348,16.5000);
  126.         GameTextForPlayer(playerid,"~r~Welcome To ~r~Abandoned ~g~Airport",4000,3);
  127.         SendClientMessageToAll(0xFFFF00AA, str);
  128.         return 1;
  129.     }
  130.     if(!strcmp(cmdtext, "/ls", true, 10))//
  131.     {
  132.         new str[128];
  133.         GetPlayerName(playerid, str, sizeof(str));
  134.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /ls", str);
  135.         SetPlayerPos(playerid,259.3984,-1229.6013,73.7732);
  136.         SendClientMessageToAll(0xFFFF00AA, str);
  137.         return 1;
  138.     }
  139.     if (strcmp("/raceplace1", cmdtext, true) == 0)//-220.07, 1570.96, 72.93//840.4000244,-2435.8999023,13.6000004
  140.     {
  141.         new str[128];
  142.         GetPlayerName(playerid, str, sizeof(str));
  143.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /raceplace1", str);
  144.         SetPlayerPos(playerid, 1013.3, 2422.2, 10.8);
  145.         SendClientMessageToAll(0xFFFF00AA, str);
  146.         return 1;
  147.     }
  148.     if (strcmp("/island1", cmdtext, true) == 0)//-220.07, 1570.96, 72.93//840.4000244,-2435.8999023,13.6000004
  149.     {
  150.         new str[128];
  151.         GetPlayerName(playerid, str, sizeof(str));
  152.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /island1", str);
  153.         SetPlayerPos(playerid,840.4000244,-2435.8999023,13.6000004+3);
  154.         SendClientMessageToAll(0xFFFF00AA, str);
  155.         return 1;
  156.     }
  157.      if (strcmp("/bigair", cmdtext, true) == 0)//-220.07, 1570.96, 72.93
  158.     {
  159.         new str[128];
  160.         GetPlayerName(playerid, str, sizeof(str));
  161.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /bigair", str);
  162.         SetPlayerPos(playerid,-220.07, 1570.96, 72.93+3);
  163.         SendClientMessageToAll(0xFFFF00AA, str);
  164.         return 1;
  165.     }
  166.      if (strcmp("/oil", cmdtext, true) == 0)//-220.07, 1570.96, 72.93
  167.     {
  168.         new str[128];
  169.         GetPlayerName(playerid, str, sizeof(str));
  170.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /oil", str);
  171.         SetPlayerPos(playerid,259.3984,-1229.6013,73.7732);
  172.         SendClientMessageToAll(0xFFFF00AA, str);
  173.         return 1;
  174.     }
  175.     if (strcmp("/raceplace2", cmdtext, true) == 0)
  176.     {
  177.         new str[128];
  178.         GetPlayerName(playerid, str, sizeof(str));
  179.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /raceplace2", str);
  180.         SetPlayerPos(playerid,-2682.5508,1288.4302,55.5608);
  181.         SendClientMessageToAll(0xFFFF00AA, str);
  182.         return 1;
  183.     }
  184.     if (strcmp("/raceplace3", cmdtext, true) == 0)
  185.     {
  186.         new str[128];
  187.         GetPlayerName(playerid, str, sizeof(str));
  188.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /raceplace3", str);
  189.         SetPlayerPos(playerid,2437.5344,1591.0621,12.3857);
  190.         SendClientMessageToAll(0xFFFF00AA, str);
  191.         return 1;
  192.     }
  193.     if(!strcmp(cmdtext, "/sf", true, 10))
  194.     {
  195.         new str[128];
  196.         GetPlayerName(playerid, str, sizeof(str));
  197.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /sf", str);
  198.         SetPlayerPos(playerid,-2703.3374,368.6161,4.3892);
  199.         SendClientMessageToAll(0xFFFF00AA, str);
  200.         return 1;
  201.     }
  202.     if (strcmp("/weapons", cmdtext, true, 10) == 0)
  203.     {
  204.         new str[128];
  205.         GetPlayerName(playerid, str, sizeof(str));
  206.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /weapons", str);
  207.         SendClientMessageToAll(0xFFFF00AA, str);
  208.         GivePlayerWeapon(playerid,31,1000); GivePlayerWeapon(playerid,16,1000);
  209.         GivePlayerWeapon(playerid,34,1000); GivePlayerWeapon(playerid,28,1000);
  210.         GivePlayerWeapon(playerid,38,1000); GivePlayerWeapon(playerid,24,1000);
  211.         GivePlayerWeapon(playerid,26,1000); GivePlayerWeapon(playerid,42,1000);
  212.         GivePlayerWeapon(playerid,14,1000); GivePlayerWeapon(playerid,46,1000);
  213.         return 1;
  214.     }
  215.     if(!strcmp(cmdtext, "/tied", true, 10))
  216.     {
  217.         ApplyAnimation(playerid,"PED","IDLE_tired",3.0,1,0 ,0,0,0);
  218.         ApplyAnimation(playerid,"FAT","Idle_Tired",3.0,1,0 ,0,0,0);
  219.         SendClientMessage(playerid, 0xFFFFFFFF, "/ca to off the animation !!");
  220.         return 1;
  221.     }
  222.     if(!strcmp(cmdtext, "/cowarm", true, 10))
  223.     {
  224.         new str[128];
  225.         GetPlayerName(playerid, str, sizeof(str));
  226.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /cowarm", str);
  227.         SetPlayerAttachedObject( playerid, 0, 11470, 1, 0.370000, 0.000000, 0.159999, 0.000000, 90.000000, 10.000000, 0.029999, 0.029999, 0.029999 );
  228.         SendClientMessageToAll(0xFFFF00AA, str);
  229.         return 1;
  230.     }
  231.     if(!strcmp(cmdtext, "/ca", true))
  232.     {
  233.         new str[128];
  234.         GetPlayerName(playerid, str, sizeof(str));
  235.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /ca ", str);
  236.         SendClientMessageToAll(0xFFFF00AA, str);
  237.         ClearAnimations(playerid);
  238.         return 1;
  239.     }
  240.     if (strcmp("/backfan", cmdtext, true) == 0)
  241.     {
  242.         new str[128];
  243.         GetPlayerName(playerid, str, sizeof(str));
  244.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /backfan", str);
  245.         SetPlayerAttachedObject(playerid, 0, 16779, 1, 0.600000, 0.039999, 0.000000, 0.000000, 270.000000, 0.000000, 0.200000, 0.200000, 0.200000 ); // ufo_light02 - kipaskepala
  246.         SendClientMessageToAll(0xFFFF00AA, str);
  247.         return 1;
  248.     }
  249.     if(!strcmp(cmdtext, "/headfan", true, 10))
  250.     {
  251.         new str[128];
  252.         GetPlayerName(playerid, str, sizeof(str));
  253.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /headfan", str);
  254.         SetPlayerAttachedObject( playerid, 0, 16779, 1, 0.600000, 0.039999, 0.000000, 0.000000, 270.000000, 0.000000, 0.200000, 0.200000, 0.200000 ); // ufo_light02 - kipaskepala
  255.         SendClientMessageToAll(0xFFFF00AA, str);
  256.         return 1;
  257.     }
  258.     if(!strcmp(cmdtext, "/parrot", true, 10))
  259.     {
  260.         new str[128];
  261.         GetPlayerName(playerid, str, sizeof(str));
  262.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /parrot", str);
  263.         SetPlayerAttachedObject(playerid, 0, 19078, 1, 0.300000, -0.100000, 0.150000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // TheParrot1 - parrots
  264.         SendClientMessageToAll(0xFFFF00AA, str);
  265.         return 1;
  266.     }
  267.     if(!strcmp(cmdtext, "/deerface", true, 10))
  268.     {
  269.         new str[128];
  270.         GetPlayerName(playerid, str, sizeof(str));
  271.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /deerface", str);
  272.         SetPlayerAttachedObject(playerid, 0, 1736, 1, 0.400000, 0.000000, 0.000000, 90.000000, 90.000000, 90.000000, 1.000000, 1.000000, 1.000000 ); // CJ_Stags_head - mukarusa
  273.         SendClientMessageToAll(0xFFFF00AA, str);
  274.         return 1;
  275.     }
  276.     if(!strcmp(cmdtext, "/bighead", true, 10))
  277.     {
  278.         new str[128];
  279.         GetPlayerName(playerid, str, sizeof(str));
  280.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /bighead", str);
  281.         SetPlayerAttachedObject(playerid, 0, 3012, 1, -0.600000, 0.800000, -0.600000, 0.000000, 70.000000, 0.000000, 2.000000, 2.000000, 2.000000 ); // chopcop_head - bighead
  282.         SendClientMessageToAll(0xFFFF00AA, str);
  283.         return 1;
  284.     }
  285.     if(!strcmp(cmdtext, "/oxygen", true, 10))
  286.     {
  287.         new str[128];
  288.         GetPlayerName(playerid, str, sizeof(str));
  289.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /oxygen", str);
  290.         SetPlayerAttachedObject(playerid, 1, 1010, 1, 0.053070, -0.083673, -0.004646, 86.6, 354.2, 180.0, 1.0, 1.0, 1.0);
  291.         SendClientMessageToAll(0xFFFF00AA, str);
  292.         return 1;
  293.     }
  294.     if(!strcmp(cmdtext, "/casino", true, 10))
  295.     {
  296.         new str[128];
  297.         GetPlayerName(playerid, str, sizeof(str));
  298.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /casino", str);
  299.         SetPlayerPos(playerid,2013.8090,1017.7272,995.8243);
  300.         PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
  301.         SetPlayerInterior(playerid,10);
  302.         SendClientMessageToAll(0xFFFF00AA, str);
  303.         return 1;
  304.     }
  305.     if(!strcmp(cmdtext, "/godes", true, 10))
  306.     {
  307.         new str[128];
  308.         GetPlayerName(playerid, str, sizeof(str));
  309.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has use {FF8000}/godes", str);
  310.         SetPlayerHealth(playerid,100000.0);
  311.         SetPlayerArmour(playerid,100000.0);
  312.         ShowPlayerDialog(playerid,10,DIALOG_STYLE_MSGBOX,"{FFA1A1}Anti Abuse","{F81414}Please Dont Abuse /godes | /ungod to ungod" ,"OKAY","");
  313.         SendClientMessageToAll(0xFFFF00AA, str);
  314.         return 1;
  315.     }
  316.     if(!strcmp(cmdtext, "/ungod", true, 10))
  317.     {
  318.         new str[128];
  319.         GetPlayerName(playerid, str, sizeof(str));
  320.         format(str, sizeof(str), "{FF8000}%s {C0C0C0} has use {FF8000}/ungod", str);
  321.         SetPlayerHealth(playerid,0.0);
  322.         SetPlayerArmour(playerid,0.0);
  323.         SendClientMessageToAll(0xFFFF00AA, str);
  324.         return 1;
  325.     }
  326.     if (strcmp("/teles", cmdtext, true, 10) == 0)//-220.07, 1570.96, 72.93
  327.     {
  328.         new fahimcmd[128];
  329.         GetPlayerName(playerid, fahimcmd, sizeof(fahimcmd));
  330.         format(fahimcmd, sizeof(fahimcmd), "{FF8000} {C0C0C0} %s has use {FF8000}/teles", fahimcmd);
  331.         ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"{FFA1A1}TELEPORT COMMANDS","{F81414}General :/lv /ls /sf /grove /skatepark /casino \n /raceplace1 /raceplace2 /raceplace3" ,"OKAY","");
  332.         SendClientMessageToAll(0xFFFF00AA, fahimcmd);
  333.         return 1;
  334.     }
  335.     if (strcmp("/sp", cmdtext, true, 10) == 0)
  336.     {
  337.         new str[128];
  338.         GetPlayerName(playerid, str, sizeof(str));
  339.         format(str, sizeof(str), "{FF8000} %s has used /sp", str);
  340.         SetPlayerPos(playerid,2494.2261,1540.4420,10.8203);
  341.         SendClientMessageToAll(0xFFFF00AA, str);
  342.         return 1;
  343.     }
  344.     if (strcmp("/cmds", cmdtext, true, 10) == 0)
  345.     {
  346.         new str[128];
  347.         GetPlayerName(playerid, str, sizeof(str));
  348.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /cmds", str);
  349.         ShowPlayerDialog(playerid,4,DIALOG_STYLE_MSGBOX,"{FFA1A1}Commands","{F81414}General : {FF8000}/mycolour{FF8000} /cowarm {FF8000}/headfan /parrot /backfan /deerface /bighead /oxygen  /weapons" ,"OKAY","");
  350.         SendClientMessageToAll(0xFFFF00AA, str);
  351.         return 1;
  352.     }
  353.     if (strcmp("/Credits", cmdtext, true, 10) == 0)
  354.     {
  355.         new str[128];
  356.         GetPlayerName(playerid, str, sizeof(str));
  357.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /credits", str);
  358.         ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX,"{FFA1A1}Credits","{FF8000}Owner : Hackerz(Muhd_Fitri){F81414}\n Scripter : Muhd_Fitri co-owner/co scripter : X_ZONE " ,"OKAY","CANCEL");
  359.         SendClientMessageToAll(0xFFFF00AA, str);
  360.         return 1;
  361.     }
  362.     if (strcmp("/Donate", cmdtext, true, 10) == 0)
  363.     {
  364.         new str[128];
  365.         GetPlayerName(playerid, str, sizeof(str));
  366.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /donate", str);
  367.         ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,"{FFA1A1}Please Donate","{FF8000}Want Admin or Level ?{F81414} Please Donate{FF8000} volt-host.com/donation/Fitri \n NOTE: if you want this server always online DONATE!!" ,"OKAY","");
  368.         SendClientMessageToAll(0xFFFF00AA, str);
  369.         return 1;
  370.     }
  371.     if (strcmp("/bayside", cmdtext, true, 10) == 0)
  372.     {
  373.         new str[128];
  374.         GetPlayerName(playerid, str, sizeof(str));
  375.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /bayside", str);
  376.         SetPlayerPos(playerid,-2227.8369,2328.1130,7.5469);
  377.         SendClientMessageToAll(0xFFFF00AA, str);
  378.         return 1;
  379.     }
  380.     if (strcmp("/Circuit", cmdtext, true, 10) == 0)
  381.     {
  382.         new str[128];
  383.         GetPlayerName(playerid, str, sizeof(str));
  384.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /circuit", str);
  385.         SetPlayerPos(playerid,834.0,-3325.6,2.0);
  386.         SendClientMessageToAll(0xFFFF00AA, str);
  387.         return 1;
  388.     }
  389.     if (strcmp("/snepisland", cmdtext, true, 10) == 0)
  390.     {
  391.         new str[128];
  392.         GetPlayerName(playerid, str, sizeof(str));
  393.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /SnepIsland", str);
  394.         SetPlayerPos(playerid,2022.0,6295.0,13.3);
  395.         SendClientMessageToAll(0xFFFF00AA, str);
  396.         return 1;
  397.     }
  398.     if(strcmp(cmdtext, "/mycolor", true) ==0)
  399.     {
  400.     new str[128];
  401.     GetPlayerName(playerid, str, sizeof(str));
  402.     format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /mycolor", str);
  403.     SendClientMessageToAll(0xFFFF00AA, str);
  404.     ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"3","Available Colors: /pink /red, /blue, /green, /white, /yellow /c1 /c2 /c3 /c4" ,"OKAY","");
  405.     return 1;
  406.     }
  407.     if(strcmp("/strip", cmdtext, true) == 0)
  408.     {
  409.         ApplyAnimation(playerid,"STRIP","strip_A",4.0,0,1,1,1,0);
  410.         return 1;
  411.     }
  412.     if(strcmp("/strip2", cmdtext, true) == 0)
  413.     {
  414.         ApplyAnimation(playerid,"STRIP","strip_B",4.0,0,1,1,1,0);
  415.         return 1;
  416.     }
  417.     if(strcmp("/strip3", cmdtext, true) == 0)
  418.     {
  419.         ApplyAnimation(playerid,"STRIP","strip_C",4.0,0,1,1,1,0);
  420.         return 1;
  421.     }
  422.     if(strcmp("/strip4", cmdtext, true) == 0)
  423.     {
  424.         ApplyAnimation(playerid,"STRIP","strip_D",4.0,0,1,1,1,0);
  425.         return 1;
  426.     }
  427.     if(strcmp("/strip5", cmdtext, true) == 0)
  428.     {
  429.         ApplyAnimation(playerid,"STRIP","strip_E",4.0,0,1,1,1,0);
  430.         return 1;
  431.     }
  432.     if(strcmp("/Baseball", cmdtext, true) == 0)
  433.     {
  434.         ApplyAnimation(playerid,"BASEBALL","Bat_1",4.0,0,1,1,1,0);
  435.         return 1;
  436.     }
  437.     if(strcmp("/baseball2", cmdtext, true) == 0)
  438.     {
  439.         ApplyAnimation(playerid,"BASEBALL","Bat_2",4.0,0,1,1,1,0);
  440.         return 1;
  441.     }
  442.     if(strcmp(cmdtext, "/kiss", true)==0)
  443.     {
  444.         if (GetPlayerState(playerid)== 1)
  445.         {
  446.             ApplyAnimation(playerid,"KISSING", "Grlfrd_Kiss_02", 1.800001, 1, 0, 0, 1, 600);
  447.         }
  448.         return 1;
  449.     }
  450.     if (strcmp(cmdtext, "/sit", true)==0)
  451.     {
  452.         if (GetPlayerState(playerid)== 1)
  453.         {
  454.             ApplyAnimation(playerid,"INT_OFFICE", "OFF_Sit_Bored_Loop", 1.800001, 1, 0, 0, 1, 600);
  455.         }
  456.         return 1;
  457.     }
  458.     if(strcmp(cmdtext, "/fucku", true)==0)
  459.     {
  460.         if (GetPlayerState(playerid)== 1)
  461.         {
  462.             ApplyAnimation(playerid,"ped", "fucku", 4.1, 0, 1, 1, 1, 1 );
  463.         }
  464.         return 1;
  465.     }
  466.     if(strcmp(cmdtext, "/cocaine", true)==0)
  467.     {
  468.         if (GetPlayerState(playerid)== 1)
  469.         {
  470.             ApplyAnimation(playerid,"CRACK", "crckdeth2", 1.800001, 1, 0, 0, 1, 600);
  471.         }
  472.         return 1;
  473.     }
  474.     if (strcmp(cmdtext, "/smoke", true)==0)
  475.     {
  476.         if (GetPlayerState(playerid)== 1)
  477.         {
  478.             ApplyAnimation(playerid,"SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
  479.         }
  480.         return 1;
  481.     }
  482.     if(strcmp("/beach", cmdtext, true, 10) == 0)
  483.     {
  484.         if (GetPlayerState(playerid)== 1)
  485.         {
  486.             ApplyAnimation(playerid,"BEACH","SitnWait_loop_W",4.1,0,1,1,1,1);
  487.         }
  488.         return 1;
  489.     }
  490.     if(strcmp("/lookout", cmdtext, true, 10) == 0)
  491.     {
  492.         if (GetPlayerState(playerid)== 1)
  493.         {
  494.             ApplyAnimation(playerid,"ON_LOOKERS","lkup_in",4.1,0,1,1,1,1);
  495.         }
  496.         return 1;
  497.     }
  498.     if(strcmp("/circle", cmdtext, true, 10) == 0)
  499.     {
  500.         if (GetPlayerState(playerid)== 1)
  501.         {
  502.             ApplyAnimation(playerid,"CHAINSAW","CSAW_Hit_2",4.1,0,1,1,1,1);
  503.         }
  504.         return 1;
  505.     }
  506.     if(strcmp("/medic", cmdtext, true, 10) == 0)
  507.     {
  508.         if (GetPlayerState(playerid)== 1)
  509.         {
  510.             ApplyAnimation(playerid,"MEDIC","CPR",4.1,0,1,1,1,1);
  511.         }
  512.         return 1;
  513.     }
  514.     if(strcmp("/chat", cmdtext, true, 10) == 0)
  515.     {
  516.         if (GetPlayerState(playerid)== 1)
  517.         {
  518.             ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1);
  519.         }
  520.         return 1;
  521.     }
  522.     if (strcmp("/die", cmdtext, true, 10) == 0)
  523.     {
  524.         if (GetPlayerState(playerid)== 1)
  525.         {
  526.             ApplyAnimation(playerid,"PED","BIKE_fallR",4.1,0,1,1,1,1);
  527.         }
  528.         return 1;
  529.     }
  530.     if(strcmp("/slapa", cmdtext, true, 10) == 0)
  531.     {
  532.         if (GetPlayerState(playerid)== 1)
  533.         {
  534.             ApplyAnimation(playerid,"PED","BIKE_elbowL",4.1,0,1,1,1,1);
  535.         }
  536.         return 1;
  537.     }
  538.     if(strcmp("/rofl", cmdtext, true, 10) == 0)
  539.     {
  540.         if (GetPlayerState(playerid)== 1)
  541.         {
  542.             ApplyAnimation(playerid,"PED","Crouch_Roll_L",4.1,0,1,1,1,1);
  543.         }
  544.         return 1;
  545.     }
  546.     if (strcmp("/glitched", cmdtext, true, 10) == 0)
  547.     {
  548.         if (GetPlayerState(playerid)== 1)
  549.         {
  550.             ApplyAnimation(playerid,"TATTOOS","TAT_Sit_Out_O",4.1,0,1,1,1,1);
  551.         }
  552.         return 1;
  553.     }
  554.     if (strcmp("/fakefire", cmdtext, true, 10) == 0)
  555.     {
  556.         if (GetPlayerState(playerid)== 1)
  557.         {
  558.             ApplyAnimation(playerid,"SILENCED","SilenceCrouchfire",4.1,0,1,1,1,1);
  559.         }
  560.         return 1;
  561.     }
  562.     if (strcmp("/fart", cmdtext, true, 10) == 0)
  563.     {
  564.         if (GetPlayerState(playerid)== 1)
  565.         {
  566.             PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
  567.         }
  568.         return 1;
  569.     }
  570.     if(strcmp("/vomit", cmdtext, true) == 0)
  571.     {
  572.         if (GetPlayerState(playerid)== 1)
  573.         {
  574.             ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0); // Vomit BAH!
  575.             PlayerPlaySound(playerid, 1169, 0.0, 0.0, 0.0);
  576.         }
  577.         return 1;
  578.     }
  579.     if(strcmp("/drunk", cmdtext, true, 10) == 0)
  580.     {
  581.         if (GetPlayerState(playerid)== 1)
  582.         {
  583.             ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,0,1,1,1,1);
  584.         }
  585.         return 1;
  586.     }
  587.     if (strcmp("/getin", cmdtext, true) == 0)
  588.     {
  589.         if (GetPlayerState(playerid)== 1)
  590.         {
  591.             ApplyAnimation(playerid,"NEVADA","NEVADA_getin",4.1,0,1,1,1,1);
  592.         }
  593.         return 1;
  594.     }
  595.     if (strcmp("/funnywalk", cmdtext, true) == 0)
  596.     {
  597.         if (GetPlayerState(playerid)== 1)
  598.         {
  599.             ApplyAnimation(playerid,"WUZI","Wuzi_Walk",4.1,0,1,1,1,1);
  600.         }
  601.         return 1;
  602.     }
  603.     if (strcmp("/kickass", cmdtext, true) == 0)
  604.     {
  605.         if (GetPlayerState(playerid)== 1)
  606.         {
  607.             ApplyAnimation(playerid,"FIGHT_E","Hit_fightkick",4.1,0,1,1,1,1);
  608.         }
  609.         return 1;
  610.     }
  611.     if (strcmp("/laugh", cmdtext, true) == 0)
  612.     {
  613.         ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0); // Laugh
  614.         return 1;
  615.     }
  616.     if (strcmp("/eat", cmdtext, true) == 0)
  617.     {
  618.         ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); // Eat Burger
  619.         return 1;
  620.     }
  621.     if(strcmp("/injured", cmdtext, true) == 0)
  622.     {
  623.         ApplyAnimation(playerid, "SWEET", "Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0);
  624.         return 1;
  625.     }
  626.     if (strcmp("/slapass", cmdtext, true) == 0)
  627.     {
  628.         ApplyAnimation(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0); // Ass Slapping
  629.         return 1;
  630.     }
  631.     if (strcmp("/laydown", cmdtext, true) == 0)
  632.     {
  633.         ApplyAnimation(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0); // Lay down
  634.         return 1;
  635.     }
  636.     if (strcmp("/arrest", cmdtext, true) == 0)
  637.     {
  638.         ApplyAnimation(playerid,"ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1); // Gun Arrest
  639.         return 1;
  640.     }
  641.     if(strcmp("/carjack", cmdtext, true) == 0)
  642.     {
  643.         ApplyAnimation(playerid,"PED","CAR_jackedLHS",4.0,0,1,1,1,0);
  644.         return 1;
  645.     }
  646.     else if (strcmp(cmdtext, "/stopanim", true)==0)
  647.     {
  648.         ClearAnimations(playerid);
  649.         return 1;
  650.     }
  651.     if(strcmp("/bj1", cmdtext, true) == 0)
  652.     {
  653.         ApplyAnimation(playerid,"BLOWJOBZ","BJ_STAND_END_W",4.0,0,1,1,1,0);
  654.         return 1;
  655.     }
  656.     if(strcmp("/bj2", cmdtext, true) == 0)
  657.     {
  658.         ApplyAnimation(playerid,"BLOWJOBZ","BJ_STAND_END_P",4.0,0,1,1,1,0);
  659.         return 1;
  660.     }
  661.     if(strcmp("/bj3", cmdtext, true) == 0)
  662.     {
  663.         ApplyAnimation(playerid,"BLOWJOBZ","BJ_STAND_LOOP_W",4.0,0,1,1,1,0);
  664.         return 1;
  665.     }
  666.     if(strcmp("/animswat", cmdtext, true) == 0)
  667.     {
  668.         ApplyAnimation(playerid,"SWAT","gnstwall_injurd",4.0,0,1,1,1,0);
  669.         return 1;
  670.     }
  671.     if(strcmp("/animswat2", cmdtext, true) == 0)
  672.     {
  673.         ApplyAnimation(playerid,"SWAT","JMP_Wall1m_180",4.0,0,1,1,1,0);
  674.         return 1;
  675.     }
  676.     if(strcmp("/animswat3", cmdtext, true) == 0)
  677.     {
  678.         ApplyAnimation(playerid,"SWAT","Rail_fall",4.0,0,1,1,1,0);
  679.         return 1;
  680.     }
  681.     if(strcmp("/animswat4", cmdtext, true) == 0)
  682.     {
  683.         ApplyAnimation(playerid,"SWAT","Rail_fall_crawl",4.0,0,1,1,1,0);
  684.         return 1;
  685.     }
  686.     if(strcmp("/animswat5", cmdtext, true) == 0)
  687.     {
  688.         ApplyAnimation(playerid,"SWAT","swt_breach_01",4.0,0,1,1,1,0);
  689.         return 1;
  690.     }
  691.     if(strcmp("/animswat6", cmdtext, true) == 0)
  692.     {
  693.         ApplyAnimation(playerid,"SWAT","swt_breach_02",4.0,0,1,1,1,0);
  694.         return 1;
  695.     }
  696.     // end of tying
  697.     if(strcmp(cmdtext, "/handsup", true) == 0)
  698.     {
  699.     SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
  700.     return 1;
  701.     }
  702.     if(strcmp(cmdtext, "/pink", true) == 0)
  703.     {
  704.     SetPlayerColor(playerid,COLOR_PINK);
  705.     SendClientMessage(playerid,COLOR_PINK,"This is Your new Colour");
  706.     return 1;
  707.     }
  708.     if(strcmp(cmdtext, "/red", true) == 0)
  709.     {
  710.     SetPlayerColor(playerid,COLOR_RED);
  711.     SendClientMessage(playerid,COLOR_RED,"This is your new colour.");
  712.     return 1;
  713.     }
  714.     if(strcmp(cmdtext, "/blue", true) == 0)
  715.     {
  716.     SetPlayerColor(playerid,COLOR_BLUE);
  717.     SendClientMessage(playerid,COLOR_BLUE,"This is your new colour.");
  718.     return 1;
  719.     }
  720.     if(strcmp(cmdtext, "/yellow", true) == 0)
  721.     {
  722.     SetPlayerColor(playerid,COLOR_YELLOW);
  723.     SendClientMessage(playerid,COLOR_YELLOW,"This is your new colour.");
  724.     return 1;
  725.     }
  726.     if(strcmp(cmdtext, "/green", true) == 0)
  727.     {
  728.     SetPlayerColor(playerid,COLOR_GREEN);
  729.     SendClientMessage(playerid,COLOR_GREEN,"This is your new colour.");
  730.     return 1;
  731.     }
  732.     if(strcmp(cmdtext, "/c1", true) == 0)
  733.     {
  734.     SetPlayerColor(playerid,COLOR_LIGHTBLUE);
  735.     SendClientMessage(playerid,COLOR_LIGHTBLUE,"This is your new colour .");
  736.     return 1;
  737.     }
  738.     if(strcmp(cmdtext, "/c2", true) == 0)
  739.     {
  740.     SetPlayerColor(playerid,COLOR_NEUTRALGREEN );
  741.     SendClientMessage(playerid,COLOR_NEUTRALGREEN ,"This is your new colour.");
  742.     return 1;
  743.     }
  744.     if(strcmp(cmdtext, "/c3", true) == 0)
  745.     {
  746.     SetPlayerColor(playerid,NICE_BLUE);
  747.     SendClientMessage(playerid,NICE_BLUE,"This is your new colour.");
  748.     return 1;
  749.     }
  750.     if(!strcmp(cmdtext, "/partyplace", true, 10))
  751.     {
  752.         new str[128];
  753.         GetPlayerName(playerid, str, sizeof(str));
  754.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /partyplace", str);
  755.         SetPlayerPos(playerid,2530.183349, 1593.176757, 9.920310 +2);
  756.         SendClientMessageToAll(0xFFFF00AA, str);
  757.         return 1;
  758.     }
  759.     if(strcmp(cmdtext, "/c4", true) == 0)
  760.     {
  761.     SetPlayerColor(playerid,COLOR_ANTIHAX );
  762.     SendClientMessage(playerid,COLOR_ANTIHAX ,"This is your new colour.");
  763.     return 1;
  764.     }
  765.     if(strcmp(cmdtext, "/white", true) == 0)
  766.     {
  767.     SetPlayerColor(playerid,COLOR_WHITE);
  768.     SendClientMessage(playerid,COLOR_WHITE,"This is your new colour.");
  769.     return 1;
  770.     }
  771.     if(strcmp(cmdtext,"/para",true)==0)
  772.     {
  773.     GivePlayerWeapon(playerid, 46,1);
  774.     GameTextForPlayer(playerid,"~r~YOU RECEIVED A PARACHUTE",4000,3);
  775.     new str[128];
  776.     GetPlayerName(playerid, str, sizeof(str));
  777.     format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /para", str);
  778.     SendClientMessageToAll(COLOR_PINK, str);
  779.     return 1;
  780.     }
  781.     if (strcmp("/fishing", cmdtext, true) == 0)
  782.     //if (strcmp("/fish", cmdtext, true))
  783.     {
  784.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 473) //return SendClientMessage(playerid,0xFFFF00AA,"you not in boat Dinghy");// boat dighy ID
  785.         {
  786.         new fisher = random(10);
  787.         switch (fisher)
  788.         {
  789.         case 0:SetTimerEx("fish1",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
  790.         case 1:SetTimerEx("fish2",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
  791.         case 2:SetTimerEx("fish3",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
  792.         case 3:SetTimerEx("fish4",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
  793.         case 4:SetTimerEx("fish5",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
  794.         case 5:SetTimerEx("fish6",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
  795.         case 6:SetTimerEx("fish7",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
  796.         case 7:SetTimerEx("fish8",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
  797.         case 8:SetTimerEx("fish9",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
  798.         case 9:SetTimerEx("fish10",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
  799.          }
  800.          }
  801.         return 1;
  802.     }
  803.     if(!strcmp(cmdtext, "/nos", true, 10))
  804.     {
  805.  
  806.         new str[128];
  807.         GetPlayerName(playerid, str, sizeof(str));
  808.         format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /nos", str);
  809.         SendClientMessageToAll(COLOR_PINK, str);
  810.     //
  811.         new car = GetPlayerVehicleID(playerid);
  812.         AddVehicleComponent(car,1010);
  813.         PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
  814.         SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: You have succesfully added 10x Nitro to car.");
  815.         return 1;
  816.     }
  817.     return 0;
  818. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement