Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(!strcmp(cmdtext, "/me", true, 3)) // 3 is the length of /me
- {
- if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /me [Text]");
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "*%s %s", str, cmdtext[4]);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/AFK", true, 4)) // Afk System By Snep_Dock xD
- {
- if(!cmdtext[4])return SendClientMessage(playerid, 0xFF0000FF, "Please Use /Afk [Reasons]");
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- TogglePlayerControllable(playerid, 0);
- format(str, sizeof(str), "> %s Is Afk Reasons : %s <", str, cmdtext[5]);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/back", true, 5)) // Afk System By Snep_Dock xD
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- TogglePlayerControllable(playerid, 1);
- format(str, sizeof(str), "> %s Is Afk back from afk<", str);
- TogglePlayerControllable(playerid, 1);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(strcmp(cmdtext, "/dance3", true) == 0)
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE3);
- SendClientMessage(playerid, COLOR_RED, "Your Dance");
- return 1;
- }
- if(strcmp(cmdtext, "/wank", true)==0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"PAULNMAC", "wank_loop", 1.800001, 1, 0, 0, 1, 600);
- }
- return 1;
- }
- if(strcmp(cmdtext, "/dance2", true) == 0)
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2);
- SendClientMessage(playerid, COLOR_RED, "You Are Dance");
- return 1;
- }
- if(strcmp(cmdtext, "/dance1", true) == 0)
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1);
- SendClientMessage(playerid, COLOR_RED, "You Are Dance");
- return 1;
- }
- if(!strcmp(cmdtext, "/clearmychat", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000}/clearmychat", str);
- SendClientMessageToAll(0xFFFF00AA, str);
- SendClientMessage(playerid, 0xFFFFFFFF, "");
- SendClientMessage(playerid, 0xFFFFFFFF, "");
- SendClientMessage(playerid, 0xFFFFFFFF, "");
- SendClientMessage(playerid, 0xFFFFFFFF, "");
- SendClientMessage(playerid, 0xFFFFFFFF, "");
- SendClientMessage(playerid, 0xFFFFFFFF, "");
- SendClientMessage(playerid, 0xFFFFFFFF, "");
- SendClientMessage(playerid, 0xFFFFFFFF, "");
- SendClientMessage(playerid, 0xFFFFFFFF, "");
- return 1;
- }
- if(!strcmp(cmdtext, "/lv", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000}/lv", str);
- SetPlayerPos(playerid,1959.7703,1343.7137,15.3746);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/boomboom", true, 10))
- {
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000}Explode Boom", str);
- SendClientMessageToAll(0xFFFF00AA, str);
- CreateExplosion(x, y, z, 6, 60.0);
- CreateExplosion(x, y, z, 7, 60.0);
- CreateExplosion(x, y, z, 8, 60.0);
- CreateExplosion(x, y, z, 1, 60.0);
- CreateExplosion(x, y, z, 2, 60.0);
- CreateExplosion(x, y, z, 3, 60.0);
- return 1;
- }
- if(!strcmp(cmdtext, "/skatepark", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} {FF8000} %s{C0C0C0} has used {FF8000} /skatepark", str);
- SetPlayerPos(playerid, 1917.235718, -1409.942505, 14.070313);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/grove", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /grove", str);
- SetPlayerPos(playerid,2491.1365,-1685.7610,13.5106);
- GameTextForPlayer(playerid,"~r~Welcome to Grove Street",4000,3);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/aa", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /aa", str);
- SetPlayerPos(playerid,405.9053,2456.6348,16.5000);
- GameTextForPlayer(playerid,"~r~Welcome To ~r~Abandoned ~g~Airport",4000,3);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/ls", true, 10))//
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /ls", str);
- SetPlayerPos(playerid,259.3984,-1229.6013,73.7732);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if (strcmp("/raceplace1", cmdtext, true) == 0)//-220.07, 1570.96, 72.93//840.4000244,-2435.8999023,13.6000004
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /raceplace1", str);
- SetPlayerPos(playerid, 1013.3, 2422.2, 10.8);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if (strcmp("/island1", cmdtext, true) == 0)//-220.07, 1570.96, 72.93//840.4000244,-2435.8999023,13.6000004
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /island1", str);
- SetPlayerPos(playerid,840.4000244,-2435.8999023,13.6000004+3);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if (strcmp("/bigair", cmdtext, true) == 0)//-220.07, 1570.96, 72.93
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /bigair", str);
- SetPlayerPos(playerid,-220.07, 1570.96, 72.93+3);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if (strcmp("/oil", cmdtext, true) == 0)//-220.07, 1570.96, 72.93
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /oil", str);
- SetPlayerPos(playerid,259.3984,-1229.6013,73.7732);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if (strcmp("/raceplace2", cmdtext, true) == 0)
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /raceplace2", str);
- SetPlayerPos(playerid,-2682.5508,1288.4302,55.5608);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if (strcmp("/raceplace3", cmdtext, true) == 0)
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /raceplace3", str);
- SetPlayerPos(playerid,2437.5344,1591.0621,12.3857);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/sf", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /sf", str);
- SetPlayerPos(playerid,-2703.3374,368.6161,4.3892);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if (strcmp("/weapons", cmdtext, true, 10) == 0)
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /weapons", str);
- SendClientMessageToAll(0xFFFF00AA, str);
- GivePlayerWeapon(playerid,31,1000); GivePlayerWeapon(playerid,16,1000);
- GivePlayerWeapon(playerid,34,1000); GivePlayerWeapon(playerid,28,1000);
- GivePlayerWeapon(playerid,38,1000); GivePlayerWeapon(playerid,24,1000);
- GivePlayerWeapon(playerid,26,1000); GivePlayerWeapon(playerid,42,1000);
- GivePlayerWeapon(playerid,14,1000); GivePlayerWeapon(playerid,46,1000);
- return 1;
- }
- if(!strcmp(cmdtext, "/tied", true, 10))
- {
- ApplyAnimation(playerid,"PED","IDLE_tired",3.0,1,0 ,0,0,0);
- ApplyAnimation(playerid,"FAT","Idle_Tired",3.0,1,0 ,0,0,0);
- SendClientMessage(playerid, 0xFFFFFFFF, "/ca to off the animation !!");
- return 1;
- }
- if(!strcmp(cmdtext, "/cowarm", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /cowarm", str);
- SetPlayerAttachedObject( playerid, 0, 11470, 1, 0.370000, 0.000000, 0.159999, 0.000000, 90.000000, 10.000000, 0.029999, 0.029999, 0.029999 );
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/ca", true))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /ca ", str);
- SendClientMessageToAll(0xFFFF00AA, str);
- ClearAnimations(playerid);
- return 1;
- }
- if (strcmp("/backfan", cmdtext, true) == 0)
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /backfan", str);
- 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
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/headfan", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /headfan", str);
- 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
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/parrot", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /parrot", str);
- 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
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/deerface", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /deerface", str);
- 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
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/bighead", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /bighead", str);
- 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
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/oxygen", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /oxygen", str);
- SetPlayerAttachedObject(playerid, 1, 1010, 1, 0.053070, -0.083673, -0.004646, 86.6, 354.2, 180.0, 1.0, 1.0, 1.0);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/casino", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /casino", str);
- SetPlayerPos(playerid,2013.8090,1017.7272,995.8243);
- PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
- SetPlayerInterior(playerid,10);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/godes", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has use {FF8000}/godes", str);
- SetPlayerHealth(playerid,100000.0);
- SetPlayerArmour(playerid,100000.0);
- ShowPlayerDialog(playerid,10,DIALOG_STYLE_MSGBOX,"{FFA1A1}Anti Abuse","{F81414}Please Dont Abuse /godes | /ungod to ungod" ,"OKAY","");
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(!strcmp(cmdtext, "/ungod", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000}%s {C0C0C0} has use {FF8000}/ungod", str);
- SetPlayerHealth(playerid,0.0);
- SetPlayerArmour(playerid,0.0);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if (strcmp("/teles", cmdtext, true, 10) == 0)//-220.07, 1570.96, 72.93
- {
- new fahimcmd[128];
- GetPlayerName(playerid, fahimcmd, sizeof(fahimcmd));
- format(fahimcmd, sizeof(fahimcmd), "{FF8000} {C0C0C0} %s has use {FF8000}/teles", fahimcmd);
- ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"{FFA1A1}TELEPORT COMMANDS","{F81414}General :/lv /ls /sf /grove /skatepark /casino \n /raceplace1 /raceplace2 /raceplace3" ,"OKAY","");
- SendClientMessageToAll(0xFFFF00AA, fahimcmd);
- return 1;
- }
- if (strcmp("/sp", cmdtext, true, 10) == 0)
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s has used /sp", str);
- SetPlayerPos(playerid,2494.2261,1540.4420,10.8203);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if (strcmp("/cmds", cmdtext, true, 10) == 0)
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /cmds", str);
- ShowPlayerDialog(playerid,4,DIALOG_STYLE_MSGBOX,"{FFA1A1}Commands","{F81414}General : {FF8000}/mycolour{FF8000} /cowarm {FF8000}/headfan /parrot /backfan /deerface /bighead /oxygen /weapons" ,"OKAY","");
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if (strcmp("/Credits", cmdtext, true, 10) == 0)
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /credits", str);
- 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");
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if (strcmp("/Donate", cmdtext, true, 10) == 0)
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /donate", str);
- 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","");
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if (strcmp("/bayside", cmdtext, true, 10) == 0)
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /bayside", str);
- SetPlayerPos(playerid,-2227.8369,2328.1130,7.5469);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if (strcmp("/Circuit", cmdtext, true, 10) == 0)
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /circuit", str);
- SetPlayerPos(playerid,834.0,-3325.6,2.0);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if (strcmp("/snepisland", cmdtext, true, 10) == 0)
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /SnepIsland", str);
- SetPlayerPos(playerid,2022.0,6295.0,13.3);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(strcmp(cmdtext, "/mycolor", true) ==0)
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /mycolor", str);
- SendClientMessageToAll(0xFFFF00AA, str);
- ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"3","Available Colors: /pink /red, /blue, /green, /white, /yellow /c1 /c2 /c3 /c4" ,"OKAY","");
- return 1;
- }
- if(strcmp("/strip", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"STRIP","strip_A",4.0,0,1,1,1,0);
- return 1;
- }
- if(strcmp("/strip2", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"STRIP","strip_B",4.0,0,1,1,1,0);
- return 1;
- }
- if(strcmp("/strip3", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"STRIP","strip_C",4.0,0,1,1,1,0);
- return 1;
- }
- if(strcmp("/strip4", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"STRIP","strip_D",4.0,0,1,1,1,0);
- return 1;
- }
- if(strcmp("/strip5", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"STRIP","strip_E",4.0,0,1,1,1,0);
- return 1;
- }
- if(strcmp("/Baseball", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"BASEBALL","Bat_1",4.0,0,1,1,1,0);
- return 1;
- }
- if(strcmp("/baseball2", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"BASEBALL","Bat_2",4.0,0,1,1,1,0);
- return 1;
- }
- if(strcmp(cmdtext, "/kiss", true)==0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"KISSING", "Grlfrd_Kiss_02", 1.800001, 1, 0, 0, 1, 600);
- }
- return 1;
- }
- if (strcmp(cmdtext, "/sit", true)==0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"INT_OFFICE", "OFF_Sit_Bored_Loop", 1.800001, 1, 0, 0, 1, 600);
- }
- return 1;
- }
- if(strcmp(cmdtext, "/fucku", true)==0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"ped", "fucku", 4.1, 0, 1, 1, 1, 1 );
- }
- return 1;
- }
- if(strcmp(cmdtext, "/cocaine", true)==0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"CRACK", "crckdeth2", 1.800001, 1, 0, 0, 1, 600);
- }
- return 1;
- }
- if (strcmp(cmdtext, "/smoke", true)==0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
- }
- return 1;
- }
- if(strcmp("/beach", cmdtext, true, 10) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"BEACH","SitnWait_loop_W",4.1,0,1,1,1,1);
- }
- return 1;
- }
- if(strcmp("/lookout", cmdtext, true, 10) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"ON_LOOKERS","lkup_in",4.1,0,1,1,1,1);
- }
- return 1;
- }
- if(strcmp("/circle", cmdtext, true, 10) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"CHAINSAW","CSAW_Hit_2",4.1,0,1,1,1,1);
- }
- return 1;
- }
- if(strcmp("/medic", cmdtext, true, 10) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"MEDIC","CPR",4.1,0,1,1,1,1);
- }
- return 1;
- }
- if(strcmp("/chat", cmdtext, true, 10) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1);
- }
- return 1;
- }
- if (strcmp("/die", cmdtext, true, 10) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"PED","BIKE_fallR",4.1,0,1,1,1,1);
- }
- return 1;
- }
- if(strcmp("/slapa", cmdtext, true, 10) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"PED","BIKE_elbowL",4.1,0,1,1,1,1);
- }
- return 1;
- }
- if(strcmp("/rofl", cmdtext, true, 10) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"PED","Crouch_Roll_L",4.1,0,1,1,1,1);
- }
- return 1;
- }
- if (strcmp("/glitched", cmdtext, true, 10) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"TATTOOS","TAT_Sit_Out_O",4.1,0,1,1,1,1);
- }
- return 1;
- }
- if (strcmp("/fakefire", cmdtext, true, 10) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"SILENCED","SilenceCrouchfire",4.1,0,1,1,1,1);
- }
- return 1;
- }
- if (strcmp("/fart", cmdtext, true, 10) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
- }
- return 1;
- }
- if(strcmp("/vomit", cmdtext, true) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0); // Vomit BAH!
- PlayerPlaySound(playerid, 1169, 0.0, 0.0, 0.0);
- }
- return 1;
- }
- if(strcmp("/drunk", cmdtext, true, 10) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,0,1,1,1,1);
- }
- return 1;
- }
- if (strcmp("/getin", cmdtext, true) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"NEVADA","NEVADA_getin",4.1,0,1,1,1,1);
- }
- return 1;
- }
- if (strcmp("/funnywalk", cmdtext, true) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"WUZI","Wuzi_Walk",4.1,0,1,1,1,1);
- }
- return 1;
- }
- if (strcmp("/kickass", cmdtext, true) == 0)
- {
- if (GetPlayerState(playerid)== 1)
- {
- ApplyAnimation(playerid,"FIGHT_E","Hit_fightkick",4.1,0,1,1,1,1);
- }
- return 1;
- }
- if (strcmp("/laugh", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0); // Laugh
- return 1;
- }
- if (strcmp("/eat", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); // Eat Burger
- return 1;
- }
- if(strcmp("/injured", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid, "SWEET", "Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0);
- return 1;
- }
- if (strcmp("/slapass", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0); // Ass Slapping
- return 1;
- }
- if (strcmp("/laydown", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0); // Lay down
- return 1;
- }
- if (strcmp("/arrest", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1); // Gun Arrest
- return 1;
- }
- if(strcmp("/carjack", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"PED","CAR_jackedLHS",4.0,0,1,1,1,0);
- return 1;
- }
- else if (strcmp(cmdtext, "/stopanim", true)==0)
- {
- ClearAnimations(playerid);
- return 1;
- }
- if(strcmp("/bj1", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"BLOWJOBZ","BJ_STAND_END_W",4.0,0,1,1,1,0);
- return 1;
- }
- if(strcmp("/bj2", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"BLOWJOBZ","BJ_STAND_END_P",4.0,0,1,1,1,0);
- return 1;
- }
- if(strcmp("/bj3", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"BLOWJOBZ","BJ_STAND_LOOP_W",4.0,0,1,1,1,0);
- return 1;
- }
- if(strcmp("/animswat", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"SWAT","gnstwall_injurd",4.0,0,1,1,1,0);
- return 1;
- }
- if(strcmp("/animswat2", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"SWAT","JMP_Wall1m_180",4.0,0,1,1,1,0);
- return 1;
- }
- if(strcmp("/animswat3", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"SWAT","Rail_fall",4.0,0,1,1,1,0);
- return 1;
- }
- if(strcmp("/animswat4", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"SWAT","Rail_fall_crawl",4.0,0,1,1,1,0);
- return 1;
- }
- if(strcmp("/animswat5", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"SWAT","swt_breach_01",4.0,0,1,1,1,0);
- return 1;
- }
- if(strcmp("/animswat6", cmdtext, true) == 0)
- {
- ApplyAnimation(playerid,"SWAT","swt_breach_02",4.0,0,1,1,1,0);
- return 1;
- }
- // end of tying
- if(strcmp(cmdtext, "/handsup", true) == 0)
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
- return 1;
- }
- if(strcmp(cmdtext, "/pink", true) == 0)
- {
- SetPlayerColor(playerid,COLOR_PINK);
- SendClientMessage(playerid,COLOR_PINK,"This is Your new Colour");
- return 1;
- }
- if(strcmp(cmdtext, "/red", true) == 0)
- {
- SetPlayerColor(playerid,COLOR_RED);
- SendClientMessage(playerid,COLOR_RED,"This is your new colour.");
- return 1;
- }
- if(strcmp(cmdtext, "/blue", true) == 0)
- {
- SetPlayerColor(playerid,COLOR_BLUE);
- SendClientMessage(playerid,COLOR_BLUE,"This is your new colour.");
- return 1;
- }
- if(strcmp(cmdtext, "/yellow", true) == 0)
- {
- SetPlayerColor(playerid,COLOR_YELLOW);
- SendClientMessage(playerid,COLOR_YELLOW,"This is your new colour.");
- return 1;
- }
- if(strcmp(cmdtext, "/green", true) == 0)
- {
- SetPlayerColor(playerid,COLOR_GREEN);
- SendClientMessage(playerid,COLOR_GREEN,"This is your new colour.");
- return 1;
- }
- if(strcmp(cmdtext, "/c1", true) == 0)
- {
- SetPlayerColor(playerid,COLOR_LIGHTBLUE);
- SendClientMessage(playerid,COLOR_LIGHTBLUE,"This is your new colour .");
- return 1;
- }
- if(strcmp(cmdtext, "/c2", true) == 0)
- {
- SetPlayerColor(playerid,COLOR_NEUTRALGREEN );
- SendClientMessage(playerid,COLOR_NEUTRALGREEN ,"This is your new colour.");
- return 1;
- }
- if(strcmp(cmdtext, "/c3", true) == 0)
- {
- SetPlayerColor(playerid,NICE_BLUE);
- SendClientMessage(playerid,NICE_BLUE,"This is your new colour.");
- return 1;
- }
- if(!strcmp(cmdtext, "/partyplace", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /partyplace", str);
- SetPlayerPos(playerid,2530.183349, 1593.176757, 9.920310 +2);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(strcmp(cmdtext, "/c4", true) == 0)
- {
- SetPlayerColor(playerid,COLOR_ANTIHAX );
- SendClientMessage(playerid,COLOR_ANTIHAX ,"This is your new colour.");
- return 1;
- }
- if(strcmp(cmdtext, "/white", true) == 0)
- {
- SetPlayerColor(playerid,COLOR_WHITE);
- SendClientMessage(playerid,COLOR_WHITE,"This is your new colour.");
- return 1;
- }
- if(strcmp(cmdtext,"/para",true)==0)
- {
- GivePlayerWeapon(playerid, 46,1);
- GameTextForPlayer(playerid,"~r~YOU RECEIVED A PARACHUTE",4000,3);
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /para", str);
- SendClientMessageToAll(COLOR_PINK, str);
- return 1;
- }
- if (strcmp("/fishing", cmdtext, true) == 0)
- //if (strcmp("/fish", cmdtext, true))
- {
- if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 473) //return SendClientMessage(playerid,0xFFFF00AA,"you not in boat Dinghy");// boat dighy ID
- {
- new fisher = random(10);
- switch (fisher)
- {
- case 0:SetTimerEx("fish1",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
- case 1:SetTimerEx("fish2",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
- case 2:SetTimerEx("fish3",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
- case 3:SetTimerEx("fish4",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
- case 4:SetTimerEx("fish5",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
- case 5:SetTimerEx("fish6",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
- case 6:SetTimerEx("fish7",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
- case 7:SetTimerEx("fish8",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
- case 8:SetTimerEx("fish9",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
- case 9:SetTimerEx("fish10",5000,0,"i",playerid),SendClientMessage(playerid,0xFFFF00AA,"please wait while fishing! 5second");
- }
- }
- return 1;
- }
- if(!strcmp(cmdtext, "/nos", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "{FF8000} %s{C0C0C0} has used {FF8000} /nos", str);
- SendClientMessageToAll(COLOR_PINK, str);
- //
- new car = GetPlayerVehicleID(playerid);
- AddVehicleComponent(car,1010);
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: You have succesfully added 10x Nitro to car.");
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement