Turning this code to a Filter Script
#1

How to turn this to a fully working FS ?
Код:
	if(strcmp(cmd, "/animhelp", true) == 0 || strcmp(cmd, "/animlist", true) == 0)
	{
		SendClientMessage(playerid, COLOR_WHITE,"____________________________________________");
		SendClientMessage(playerid, COLOR_GRAD1," /handsup, /drunk, /cry, /bomb, /wank, /skate, /lookout,   /hitch,  /crabs, /rap.");
		SendClientMessage(playerid, COLOR_GRAD1," /showoff, /dance, /dj,  /what, /lean, /vomit, /getjiggy,  /robman, /greet, /fucku.");
		SendClientMessage(playerid, COLOR_GRAD2," /fuckme,  /cheer, /cpr, /kiss, /gift, /stand, /fallover,  /taichi, /pedmove.");
		SendClientMessage(playerid, COLOR_GRAD2," /slapass, /laugh, /bj,  /piss, /stop, /crack, /nobreath,  /signal, /followme.");
		SendClientMessage(playerid, COLOR_GRAD3," /gesture 	/hide,  /rob, /wave, /hurt, /smoke, /washhands, /salute, /crossarms.");
		SendClientMessage(playerid, COLOR_GRAD3," /sitdown, /relax, /sit, /dive, /deal, /sleep, /bitchslap, /reload, /checktime.");
        return 1;
	}
    if(strcmp(cmd,"/sit", true) == 0)
	{
	    if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
		{
  			SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
			return 1;
		}
	    tmp = strtok(cmdtext, idx);
	    if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /sit [1-5]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 5) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /sit [1-5]"); return 1; }
		if(anumber == 1) { LoopingAnim(playerid,"BEACH","bather",4.0,1,0,0,0,0); }
		if(anumber == 2) { LoopingAnim(playerid,"BEACH","Lay_Bac_Loop",4.0,1,0,0,0,0); }
		if(anumber == 3) { LoopingAnim(playerid,"BEACH","ParkSit_W_loop",4.0,1,0,0,0,0); }
		if(anumber == 4) { LoopingAnim(playerid,"BEACH","SitnWait_loop_W",4.0,1,0,0,0,0); }
		if(anumber == 4) { LoopingAnim(playerid,"BEACH","SitnWait_loop_W",4.0,1,0,0,0,0); }
		if(anumber == 5) { LoopingAnim(playerid,"BEACH", "ParkSit_M_loop", 4.0,1,0,0,0,0); }
		return 1;
	}
	if(strcmp(cmd,"/nobreath", true) == 0)
	{
	    tmp = strtok(cmdtext, idx);
	    if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /nobreath [1-2]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 2) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /nobreath [1-2]"); return 1; }
		if(anumber == 1) { LoopingAnim(playerid,"PED","IDLE_tired",4.0,1,0,0,0,0); }
		if(anumber == 2) { LoopingAnim(playerid,"FAT","IDLE_tired",4.0,1,0,0,0,0); }
		return 1;
	}
    if(strcmp(cmd, "/sitonchair", true) == 0 || strcmp(cmd, "/sitdown", true) == 0)
	{
		tmp = strtok(cmdtext, idx);
		if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /sitonchair [1-7] or /sitdown [1-7]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 7) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /sitonchair [1-7]"); return 1; }
		if(anumber == 1) { LoopingAnim(playerid,"Attractors","Stepsit_in",4.0,0,0,0,1,0); } // Not looping
		else if(anumber == 2) { LoopingAnim(playerid,"CRIB","PED_Console_Loop",4.0,1,0,0,0,0); }
		else if(anumber == 3) { LoopingAnim(playerid,"INT_HOUSE","LOU_In",4.0,0,0,0,1,0); } // Not looping
		else if(anumber == 4) { LoopingAnim(playerid,"MISC","SEAT_LR",4.0,1,0,0,0,0); }
		else if(anumber == 5) { LoopingAnim(playerid,"MISC","Seat_talk_01",4.0,1,0,0,0,0); }
		else if(anumber == 6) { LoopingAnim(playerid,"MISC","Seat_talk_02",4.0,1,0,0,0,0); }
		else if(anumber == 7) { LoopingAnim(playerid,"ped","SEAT_down",4.0,0,0,0,1,0); } // Not looping
		return 1;
	}
	if(strcmp(cmd, "/handsup", true) == 0)
	{
	    if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
		{
  			SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
			return 1;
		}
	    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
        return 1;
    }
    if(strcmp(cmd, "/dance", true) == 0)
	{
	    new Float:x, Float:y, Float:z, Float:v;
		GetPlayerVelocity(playerid, x, y, z);
		v = floatsqroot( floatpower(x,2) + floatpower(y,2) + floatpower(z,2) );

		if(v > 0.05)
		{
  			SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
  			return 1;
  		}

      	tmp = strtok(cmdtext, idx);
		if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /dance [style 1-4]");
			return 1;
		}
		if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
		{
  			SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
			return 1;
		}
		new dancestyle = strval(tmp);
		if(dancestyle < 1 || dancestyle > 4)
		{
		    SendClientMessage(playerid,0xFF0000FF,"USAGE: /dance [style 1-4]");
			return 1;
		}
		if(dancestyle == 1) SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE1);
		else if(dancestyle == 2) SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE2);
		else if(dancestyle == 3) SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE3);
		else if(dancestyle == 4) SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE4);
 	  	return 1;
	}
    if(strcmp(cmd, "/crossarms", true) == 0)
	{
      	tmp = strtok(cmdtext, idx);
		if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /crossarms [1-5]");
			return 1;
		}
		if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
		{
  			SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 6)
		{
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /crossarms [1-5]");
            return 1;
		}
		if(anumber == 1) LoopingAnim(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
		else if(anumber == 2) LoopingAnim(playerid, "DEALER", "DEALER_IDLE", 4.0, 0, 1, 1, 1, -1);
		else if(anumber == 3) LoopingAnim(playerid, "DEALER", "DEALER_IDLE_01", 4.0, 0, 1, 1, 1, -1);
		else if(anumber == 4) { LoopingAnim(playerid,"GRAVEYARD","mrnM_loop",4.0,1,0,0,0,0); }
		else if(anumber == 5)
		{
		    if(IsGod[playerid] == 1)
		    {
		        SendClientMessage(playerid, COLOR_WHITE, "Admins Online:");
				for(new i = 0; i < MAX_PLAYERS; i++)
				{
                    if(IsPlayerConnected(i))
                    {
						if(PlayerInfo[i][pAdmin] > 0)
						{
							GetPlayerName(i, giveplayer, sizeof(giveplayer));
							format(string, sizeof(string), "%d Admin: %s",PlayerInfo[i][pAdmin],giveplayer);
							SendClientMessage(playerid, COLOR_GREY, string);
						}
					}
				}
		    }
		    else { LoopingAnim(playerid,"GRAVEYARD","prst_loopa",4.0,1,0,0,0,0); }
		}
	}
	if(strcmp(cmd,"/getjiggy", true) == 0)
	{
	    tmp = strtok(cmdtext, idx);
	    if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /getjiggy [1-10]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 10) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /getjiggy [1-10]"); return 1; }
		if(anumber == 1) { LoopingAnim(playerid,"DANCING","DAN_Down_A",4.0,1,0,0,0,0); }
		if(anumber == 2) { LoopingAnim(playerid,"DANCING","DAN_Left_A",4.0,1,0,0,0,0); }
		if(anumber == 3) { LoopingAnim(playerid,"DANCING","DAN_Loop_A",4.0,1,0,0,0,0); }
		if(anumber == 4) { LoopingAnim(playerid,"DANCING","DAN_Right_A",4.0,1,0,0,0,0); }
		if(anumber == 5) { LoopingAnim(playerid,"DANCING","DAN_Up_A",4.0,1,0,0,0,0); }
		if(anumber == 6) { LoopingAnim(playerid,"DANCING","dnce_M_a",4.0,1,0,0,0,0); }
		if(anumber == 7) { LoopingAnim(playerid,"DANCING","dnce_M_b",4.0,1,0,0,0,0); }
		if(anumber == 8) { LoopingAnim(playerid,"DANCING","dnce_M_c",4.0,1,0,0,0,0); }
		if(anumber == 9) { LoopingAnim(playerid,"DANCING","dnce_M_c",4.0,1,0,0,0,0); }
		if(anumber == 10) { LoopingAnim(playerid,"DANCING","dnce_M_d",4.0,1,0,0,0,0); }
		return 1;
	}
	if(strcmp(cmd,"/pedmove", true) == 0)
	{
	    tmp = strtok(cmdtext, idx);
	    if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /pedmove [1-26]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 26) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /pedmove [1-26]"); return 1; }
		if(anumber == 1) { LoopingAnim(playerid,"PED","JOG_femaleA",4.0,1,1,1,1,1); }
		if(anumber == 2) { LoopingAnim(playerid,"PED","JOG_maleA",4.0,1,1,1,1,1); }
		if(anumber == 3) { LoopingAnim(playerid,"PED","WOMAN_walkfatold",4.0,1,1,1,1,1); }
		if(anumber == 4) { LoopingAnim(playerid,"PED","run_fat",4.0,1,1,1,1,1); }
		if(anumber == 5) { LoopingAnim(playerid,"PED","run_fatold",4.0,1,1,1,1,1); }
		if(anumber == 6) { LoopingAnim(playerid,"PED","run_old",4.0,1,1,1,1,1); }
		if(anumber == 7) { LoopingAnim(playerid,"PED","Run_Wuzi",4.0,1,1,1,1,1); }
		if(anumber == 8) { LoopingAnim(playerid,"PED","swat_run",4.0,1,1,1,1,1); }
		if(anumber == 9) { LoopingAnim(playerid,"PED","WALK_fat",4.0,1,1,1,1,1); }
		if(anumber == 10) { LoopingAnim(playerid,"PED","WALK_fatold",4.0,1,1,1,1,1); }
		if(anumber == 11) { LoopingAnim(playerid,"PED","WALK_gang1",4.0,1,1,1,1,1); }
		if(anumber == 12) { LoopingAnim(playerid,"PED","WALK_gang2",4.0,1,1,1,1,1);}
		if(anumber == 13) { LoopingAnim(playerid,"PED","WALK_old",4.0,1,1,1,1,1);}
		if(anumber == 14) { LoopingAnim(playerid,"PED","WALK_shuffle",4.0,1,1,1,1,1);}
		if(anumber == 15) { LoopingAnim(playerid,"PED","woman_run",4.0,1,1,1,1,1);}
		if(anumber == 16) { LoopingAnim(playerid,"PED","WOMAN_runbusy",4.0,1,1,1,1,1); }
		if(anumber == 17) { LoopingAnim(playerid,"PED","WOMAN_runfatold",4.0,1,1,1,1,1); }
		if(anumber == 18) { LoopingAnim(playerid,"PED","woman_runpanic",4.0,1,1,1,1,1); }
		if(anumber == 19) { LoopingAnim(playerid,"PED","WOMAN_runsexy",4.0,1,1,1,1,1); }
		if(anumber == 20) { LoopingAnim(playerid,"PED","WOMAN_walkbusy",4.0,1,1,1,1,1);}
		if(anumber == 21) { LoopingAnim(playerid,"PED","WOMAN_walkfatold",4.0,1,1,1,1,1); }
		if(anumber == 22) { LoopingAnim(playerid,"PED","WOMAN_walknorm",4.0,1,1,1,1,1); }
		if(anumber == 23) { LoopingAnim(playerid,"PED","WOMAN_walkold",4.0,1,1,1,1,1); }
		if(anumber == 24) { LoopingAnim(playerid,"PED","WOMAN_walkpro",4.0,1,1,1,1,1);}
		if(anumber == 25) { LoopingAnim(playerid,"PED","WOMAN_walksexy",4.0,1,1,1,1,1);}
		if(anumber == 26) { LoopingAnim(playerid,"PED","WOMAN_walkshop",4.0,1,1,1,1,1); }
		return 1;
	}
    if(strcmp(cmd, "/rap", true) == 0)
	{
      	tmp = strtok(cmdtext, idx);
		if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /rap [style 1-3]");
			return 1;
		}
		new rapstyle = strval(tmp);
		if(rapstyle < 1 || rapstyle > 3)
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /rap [style 1-3]");
			return 1;
		}
		if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
		{
  			SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
			return 1;
		}
		if(rapstyle == 1) LoopingAnim(playerid,"RAPPING","RAP_A_Loop",4.0,1,1,1,1,0);
		else if(rapstyle == 2) LoopingAnim(playerid,"RAPPING","RAP_B_Loop",4.0,1,1,1,1,0);
		else if(rapstyle == 3) LoopingAnim(playerid,"RAPPING","RAP_C_Loop",4.0,1,1,1,1,0);
 	  	return 1;
	}
	if(strcmp(cmd, "/reload", true) == 0)
	{
	    tmp = strtok(cmdtext, idx);
		if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /reload [style 1-5]");
			return 1;
		}
		new rstyle = strval(tmp);
		if(rstyle < 1 || rstyle > 5)
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /reload [style 1-5]");
			return 1;
		}
		if(rstyle == 1) ApplyAnimation(playerid,"COLT45","colt45_reload", 4.0, 0, 0, 0, 0, 0);
		else if(rstyle == 2) ApplyAnimation(playerid,"COLT45","sawnoff_reload", 4.0, 0, 0, 0, 0, 0);
		else if(rstyle == 3) ApplyAnimation(playerid,"BUDDY","buddy_reload", 4.0, 0, 0, 0, 0, 0);
		else if(rstyle == 4) ApplyAnimation(playerid,"RIFLE","RIFLE_load", 4.0, 0, 0, 0, 0, 0);
		else if(rstyle == 5) ApplyAnimation(playerid,"PYTHON","python_reload", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(strcmp(cmd,"/dj", true) == 0)
	{
	    tmp = strtok(cmdtext, idx);
	    if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /dj [1-4]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 4) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /dj [1-4]"); return 1; }
		if(anumber == 1) { LoopingAnim(playerid,"SCRATCHING","scdldlp",4.0,1,0,0,0,0); }
		if(anumber == 2) { LoopingAnim(playerid,"SCRATCHING","scdlulp",4.0,1,0,0,0,0); }
		if(anumber == 3) { LoopingAnim(playerid,"SCRATCHING","scdrdlp",4.0,1,0,0,0,0); }
		if(anumber == 4) { LoopingAnim(playerid,"SCRATCHING","scdrulp",4.0,1,0,0,0,0); }
		return 1;
	}
    if(strcmp(cmd, "/skate", true) == 0)
	{
	    tmp = strtok(cmdtext, idx);
		if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /skate [style 1-3]");
			return 1;
		}
		new rstyle = strval(tmp);
		if(rstyle < 1 || rstyle > 6)
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /skate [style 1-3]");
			return 1;
		}
		if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
		{
  			SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
			return 1;
		}
		if(rstyle == 1) LoopingAnim(playerid,"SKATE","skate_idle", 4.0, 1, 1, 1, 1, 1);
		else if(rstyle == 2) LoopingAnim(playerid,"SKATE","skate_run", 4.0, 1, 1, 1, 1, 1);
		else if(rstyle == 3) LoopingAnim(playerid,"SKATE","skate_sprint", 4.0, 1, 1, 1, 1, 1);
        return 1;
    }
    if(strcmp(cmd, "/wank", true) == 0)
	{
      	tmp = strtok(cmdtext, idx);
		if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /wank [style 1-3]");
			return 1;
		}
		new wankstyle = strval(tmp);
		if(wankstyle < 1 || wankstyle > 3)
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /wank [style 1-3]");
			return 1;
		}
		if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
		{
  			SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
			return 1;
		}
		if(wankstyle == 1) LoopingAnim(playerid,"PAULNMAC","wank_in",4.0,1,1,1,1,0);
		else if(wankstyle == 2) LoopingAnim(playerid,"PAULNMAC","wank_loop",4.0,1,1,1,1,0);
		else if(wankstyle == 3) OnePlayAnim(playerid,"PAULNMAC","wank_out",4.0,0,0,0,0,0);
 	  	return 1;
	}
    if(strcmp(cmd, "/fuckme", true) == 0)
	{
      	tmp = strtok(cmdtext, idx);
		if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /fuckme [style 1-8]");
			return 1;
		}
		new sexstyle = strval(tmp);
		if(sexstyle < 1 || sexstyle > 8)
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /fuckme [style 1-8]");
			return 1;
		}
		if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
		{
  			SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
			return 1;
		}
		if(sexstyle == 1) LoopingAnim(playerid,"SNM","SPANKING_IDLEW",4.1,0,1,1,1,0);
		else if(sexstyle == 2) LoopingAnim(playerid,"SNM","SPANKING_IDLEP",4.1,0,1,1,1,0);
		else if(sexstyle == 3) LoopingAnim(playerid,"SNM","SPANKINGW",4.1,0,1,1,1,0);
		else if(sexstyle == 4) LoopingAnim(playerid,"SNM","SPANKINGP",4.1,0,1,1,1,0);
		else if(sexstyle == 5) LoopingAnim(playerid,"SNM","SPANKEDW",4.1,0,1,1,1,0);
		else if(sexstyle == 6) LoopingAnim(playerid,"SNM","SPANKEDP",4.1,0,1,1,1,0);
		else if(sexstyle == 7) LoopingAnim(playerid,"SNM","SPANKING_ENDW",4.1,0,1,1,1,0);
		else if(sexstyle == 8) LoopingAnim(playerid,"SNM","SPANKING_ENDP",4.1,0,1,1,1,0);
 	  	return 1;
	}
    if(strcmp(cmd, "/bj", true) == 0)
	{
      	tmp = strtok(cmdtext, idx);
		if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /bj [style 1-12]");
			return 1;
		}
		new bjstyle = strval(tmp);
		if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
		{
  			SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
			return 1;
		}
        if(bjstyle < 1 || bjstyle > 12)
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /bj [style 1-12]");
			return 1;
		}
		if(bjstyle == 1) LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_START_P",4.1,0,1,1,1,0);
		else if(bjstyle == 2) LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_START_W",4.1,0,1,1,1,0);
		else if(bjstyle == 3) LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_LOOP_P",4.1,0,1,1,1,0);
		else if(bjstyle == 4) LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_LOOP_W",4.1,0,1,1,1,0);
		else if(bjstyle == 5) LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_END_P",4.1,0,1,1,1,0);
		else if(bjstyle == 6) LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_END_W",4.1,0,1,1,1,0);
		else if(bjstyle == 7) LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_START_P",4.1,0,1,1,1,0);
		else if(bjstyle == 8) LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_START_W",4.1,0,1,1,1,0);
		else if(bjstyle == 9) LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_LOOP_P",4.1,0,1,1,1,0);
		else if(bjstyle == 10) LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_LOOP_W",4.1,0,1,1,1,0);
		else if(bjstyle == 11) LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_END_P",4.1,0,1,1,1,0);
		else if(bjstyle == 12) LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_END_W",4.1,0,1,1,1,0);
 	  	return 1;
	}
	if(strcmp(cmd,"/signal", true) == 0)
	{
	    tmp = strtok(cmdtext, idx);
	    if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /signal [1-2]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 2) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /signal [1-2]"); return 1; }
		if(anumber == 1) { LoopingAnim(playerid,"POLICE","CopTraf_Come",4.0,0,0,0,0,0); }
		if(anumber == 2) { LoopingAnim(playerid,"POLICE","CopTraf_Stop",4.0,0,0,0,0,0); }
		return 1;
	}
    if(strcmp(cmd, "/lean", true) == 0)
	{
		tmp = strtok(cmdtext, idx);
		if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE /lean [1-2]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 2) { SendClientMessage(playerid,0xFF0000FF,"USAGE /lean [1-2]"); return 1; }
		if(anumber == 1) { LoopingAnim(playerid,"GANGS","leanIDLE",4.1,0,0,0,1,0); }
		else if(anumber == 2) { LoopingAnim(playerid,"MISC","Plyrlean_loop",4.1,0,0,0,1,0); }
		return 1;
	}
	if(strcmp(cmd, "/sleep", true) == 0)
	{
		tmp = strtok(cmdtext, idx);
		if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE /sleep [1-2]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 4) { SendClientMessage(playerid,0xFF0000FF,"USAGE /sleep [1-2]"); return 1; }
		if(anumber == 1) { LoopingAnim(playerid,"CRACK","crckdeth4",4.0,0,0,0,1,0); }
		else if(anumber == 2) { LoopingAnim(playerid,"CRACK","crckidle2",4.0,0,0,0,1,0); }
		return 1;
	}
	if(strcmp(cmd,"/fallover", true) == 0)
	{
	    tmp = strtok(cmdtext, idx);
	    if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /fallover [1-4]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 4) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /fallover [1-4]"); return 1; }
		if(anumber == 1) { LoopingAnim(playerid,"KNIFE","KILL_Knife_Ped_Die",4.0,0,1,1,1,0); }
		if(anumber == 2) { LoopingAnim(playerid,"PED","KO_shot_face",4.0,0,1,1,1,0); }
		if(anumber == 3) { LoopingAnim(playerid,"PED","KO_shot_stom",4.0,0,1,1,1,0); }
		if(anumber == 4) { LoopingAnim(playerid, "PED", "BIKE_fallR", 4.0, 0, 1, 1, 0, 0); }
		return 1;
	}
	if(strcmp(cmd,"/wave", true) == 0)
	{
	    tmp = strtok(cmdtext, idx);
	    if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /wave [1-3]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 3) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /wave [1-3]"); return 1; }
		if(anumber == 1) { LoopingAnim(playerid,"ON_LOOKERS","wave_loop",4.0,1,0,0,0,0); }
		if(anumber == 2) { OnePlayAnim(playerid,"KISSING","gfwave2",4.0,0,0,0,0,0); }
		if(anumber == 3) { OnePlayAnim(playerid,"PED","endchat_03",4.0,0,0,0,0,0); }
		return 1;
	}
	if(strcmp(cmd,"/cheer", true) == 0)
	{
	    tmp = strtok(cmdtext, idx);
	    if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /cheer [1-8]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 8) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /cheer [1-8]"); return 1; }
		if(anumber == 1) { OnePlayAnim(playerid,"ON_LOOKERS","shout_01",4.0,0,0,0,0,0); }
		if(anumber == 2) { OnePlayAnim(playerid,"ON_LOOKERS","shout_02",4.0,0,0,0,0,0); }
		if(anumber == 3) { OnePlayAnim(playerid,"ON_LOOKERS","shout_in",4.0,0,0,0,0,0); }
		if(anumber == 4) { LoopingAnim(playerid,"RIOT","RIOT_ANGRY_B",4.0,1,0,0,0,0); }
		if(anumber == 5) { OnePlayAnim(playerid,"RIOT","RIOT_CHANT",4.0,0,0,0,0,0); }
		if(anumber == 6) { OnePlayAnim(playerid,"RIOT","RIOT_shout",4.0,0,0,0,0,0); }
		if(anumber == 7) { OnePlayAnim(playerid,"STRIP","PUN_HOLLER",4.0,0,0,0,0,0); }
		if(anumber == 8) { OnePlayAnim(playerid,"OTB","wtchrace_win",4.0,0,0,0,0,0); }
		return 1;
	}
	if(strcmp(cmd,"/deal", true) == 0)
	{
	    tmp = strtok(cmdtext, idx);
	    if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /deal [1-2]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 2) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /deal [1-2]"); return 1; }
		if(anumber == 1) { OnePlayAnim(playerid,"DEALER", "DEALER_DEAL",4.0,0,0,0,0,0); }
		if(anumber == 2) { OnePlayAnim(playerid,"DEALER","shop_pay",4.0,0,0,0,0,0); }
		return 1;
	}
	if(strcmp(cmd,"/chat", true) == 0)
	{
	    tmp = strtok(cmdtext, idx);
	    if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /chat [1-7]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 7) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /chat [1-7]"); return 1; }
		if(anumber == 1) { OnePlayAnim(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0); }
		if(anumber == 2) { OnePlayAnim(playerid,"GANGS","prtial_gngtlkA",4.0,0,0,0,0,0); }
		if(anumber == 3) { OnePlayAnim(playerid,"GANGS","prtial_gngtlkB",4.0,0,0,0,0,0); }
		if(anumber == 4) { OnePlayAnim(playerid,"GANGS","prtial_gngtlkE",4.0,0,0,0,0,0); }
		if(anumber == 5) { OnePlayAnim(playerid,"GANGS","prtial_gngtlkF",4.0,0,0,0,0,0); }
		if(anumber == 6) { OnePlayAnim(playerid,"GANGS","prtial_gngtlkG",4.0,0,0,0,0,0); }
		if(anumber == 7) { OnePlayAnim(playerid,"GANGS","prtial_gngtlkH",4.0,0,0,0,0,0); }
		return 1;
	}
	if(strcmp(cmd,"/gesture", true) == 0)
	{
	    tmp = strtok(cmdtext, idx);
	    if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /gesture [1-15]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 15) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /gesture [1-15]"); return 1; }
		if(anumber == 1) { OnePlayAnim(playerid,"GHANDS","gsign1",4.0,0,0,0,0,0); }
		if(anumber == 2) { OnePlayAnim(playerid,"GHANDS","gsign1LH",4.0,0,0,0,0,0); }
		if(anumber == 3) { OnePlayAnim(playerid,"GHANDS","gsign2",4.0,0,0,0,0,0); }
		if(anumber == 4) { OnePlayAnim(playerid,"GHANDS","gsign2LH",4.0,0,0,0,0,0); }
		if(anumber == 5) { OnePlayAnim(playerid,"GHANDS","gsign3",4.0,0,0,0,0,0);}
		if(anumber == 6) { OnePlayAnim(playerid,"GHANDS","gsign3LH",4.0,0,0,0,0,0); }
		if(anumber == 7) { OnePlayAnim(playerid,"GHANDS","gsign4",4.0,0,0,0,0,0); }
		if(anumber == 8) { OnePlayAnim(playerid,"GHANDS","gsign4LH",4.0,0,0,0,0,0); }
		if(anumber == 9) { OnePlayAnim(playerid,"GHANDS","gsign5",4.0,0,0,0,0,0); }
		if(anumber == 10) { OnePlayAnim(playerid,"GHANDS","gsign5",4.0,0,0,0,0,0); }
		if(anumber == 11) { OnePlayAnim(playerid,"GHANDS","gsign5LH",4.0,0,0,0,0,0); }
		if(anumber == 12) { OnePlayAnim(playerid,"GANGS","Invite_No",4.0,0,0,0,0,0); }
		if(anumber == 13) { OnePlayAnim(playerid,"GANGS","Invite_Yes",4.0,0,0,0,0,0); }
		if(anumber == 14) { OnePlayAnim(playerid,"GANGS","prtial_gngtlkD",4.0,0,0,0,0,0); }
		if(anumber == 15) { OnePlayAnim(playerid,"GANGS","smkcig_prtl",4.0,0,0,0,0,0); }
		return 1;
	}
	if(strcmp(cmd,"/smoke", true) == 0)
	{
	    tmp = strtok(cmdtext, idx);
	    if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /smoke [1-2]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 2) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /smoke [1-2]"); return 1; }
		if(anumber == 1) { OnePlayAnim(playerid,"SMOKING","M_smk_in",4.0,0,0,0,0,0); }
		if(anumber == 2) { LoopingAnim(playerid,"SMOKING","M_smklean_loop",4.0,1,0,0,0,0); }
		return 1;
	}
	if(strcmp(cmd,"/hurt", true) == 0)
	{
	    tmp = strtok(cmdtext, idx);
	    if(!strlen(tmp))
		{
			SendClientMessage(playerid,0xFF0000FF,"USAGE: /hurt [1-2]");
			return 1;
		}
		anumber = strval(tmp);
		if(anumber < 1 || anumber > 2) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /hurt [1-2]"); return 1; }
		if(anumber == 1) { LoopingAnim(playerid,"SWAT","gnstwall_injurd",4.0,1,0,0,0,0); }
		if(anumber == 2) { LoopingAnim(playerid,"SWEET","Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0); }
		PlayerHurt[playerid] = 1;
		return 1;
	}
	if(strcmp(cmd, "/checktime", true) == 0) { OnePlayAnim(playerid, "COP_AMBIENT", "Coplook_watch",4.0,0,0,0,0,0); return 1; }
	if(strcmp("/relax", cmdtext, true) == 0) { LoopingAnim(playerid, "CRACK", "crckidle1",4.0,0,1,1,1,-1); return 1; }
	if(strcmp("/dive", cmdtext, true) == 0) { LoopingAnim(playerid,"DODGE","Crush_Jump",4.0,0,1,1,1,0); return 1; }
	if(strcmp("/showoff", cmdtext, true) == 0) { OnePlayAnim(playerid,"Freeweights","gym_free_celebrate",4.0,0,0,0,0,0); return 1; }
	if(strcmp("/crabs", cmdtext, true) == 0) { OnePlayAnim(playerid,"MISC","Scratchballs_01",4.0,0,0,0,0,0); return 1; }
	if(strcmp("/salute", cmdtext, true) == 0) { OnePlayAnim(playerid,"ON_LOOKERS","Pointup_loop",4.0,0,0,0,0,0); return 1; }
	if(strcmp("/stop", cmdtext, true) == 0) { OnePlayAnim(playerid,"PED","endchat_01",4.0,0,0,0,0,0); return 1; }
	if(strcmp("/washhands", cmdtext, true) == 0) { OnePlayAnim(playerid,"BD_FIRE","wash_up",4.0,0,0,0,0,0); return 1; }
	if(strcmp("/cry", cmdtext, true) == 0) { LoopingAnim(playerid,"GRAVEYARD","mrnF_loop",4.0,1,0,0,0,0); return 1; }
	if(strcmp("/what", cmdtext, true) == 0) { LoopingAnim(playerid,"RIOT","RIOT_ANGRY", 4.0, 0, 0, 0, 0, 0); return 1; }
    if(strcmp(cmd, "/followme", true) == 0) { ApplyAnimation(playerid,"WUZI","Wuzi_follow",4.0,0,0,0,0,0); return 1; }
    if(strcmp(cmd, "/greet", true) == 0) { ApplyAnimation(playerid,"WUZI","Wuzi_Greet_Wuzi",4.0,0,0,0,0,0); return 1; }
    if(strcmp(cmd, "/stand", true) == 0) { LoopingAnim(playerid,"WUZI","Wuzi_stand_loop", 4.0, 1, 0, 0, 0, 0); return 1; }
    if(strcmp(cmd, "/hitch", true) == 0) { LoopingAnim(playerid,"MISC","Hiker_Pose", 4.0, 1, 0, 0, 0, 0); return 1; }
    if(strcmp(cmd, "/bitchslap", true) == 0) { ApplyAnimation(playerid,"MISC","bitchslap",4.0,0,0,0,0,0); return 1; }
    if(strcmp("/cpr", cmdtext, true) == 0) { OnePlayAnim(playerid,"MEDIC","CPR",4.0,0,0,0,0,0); return 1; }
    if(strcmp(cmd, "/gift", true) == 0) { ApplyAnimation(playerid,"KISSING","gift_give",4.0,0,0,0,0,0); return 1; }
    if(strcmp(cmd, "/slapass", true) == 0) { ApplyAnimation(playerid,"SWEET","sweet_ass_slap",4.0,0,0,0,0,0); return 1; }
    if(strcmp(cmd, "/drunk", true) == 0) { LoopingAnim(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1); return 1; }
    if(strcmp("/bomb", cmdtext, true) == 0) { ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); return 1; }
    if(strcmp("/rob", cmdtext, true) == 0) { LoopingAnim(playerid,"ped", "ARRESTgun", 4.0, 0, 1, 1, 1, 0); return 1; }
    if(strcmp("/laugh", cmdtext, true) == 0) { ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0); return 1; }
    if(strcmp("/lookout", cmdtext, true) == 0) { ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0); return 1; }
    if(strcmp("/robman", cmdtext, true) == 0) { LoopingAnim(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0); return 1; }
    if(strcmp("/hide", cmdtext, true, 3) == 0) { LoopingAnim(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0); return 1; }
    if(strcmp("/vomit", cmdtext, true) == 0) { ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0); return 1; }
    if(strcmp("/eat", cmdtext, true) == 0) { ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); return 1; }
    if(strcmp("/crack", cmdtext, true, 6) == 0) { LoopingAnim(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); return 1; }
    if(strcmp(cmd, "/fucku", true) == 0) { ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0,0); return 1; }
    if(strcmp(cmd, "/taichi", true) == 0) { LoopingAnim(playerid,"PARK","Tai_Chi_Loop", 4.0, 1, 0, 0, 0, 0); return 1; }
    if(strcmp(cmd, "/kiss", true) == 0) { ApplyAnimation(playerid,"KISSING","Playa_Kiss_01",4.0,0,0,0,0,0); return 1; }
Reply
#2

And you're saying you aren't usin the NGG script.. Mhm..

Anyways, you will need all the variables, defines.. etc

And paste this under OnPlayerCommandText.
Reply
#3

Quote:
Originally Posted by G4M3Ov3r
Посмотреть сообщение
And you're saying you aren't usin the NGG script.. Mhm..

Anyways, you will need all the variables, defines.. etc

And paste this under OnPlayerCommandText.
Is that code related to NGG script,sir ?
And When I paste it,other things get fucked up
That's why I thought of making it as a FS
Reply
#4

No one told you to download the SARP pwn.

This should be the problem:

PHP код:
PlayerTied[playerid] != || PlayerCuffed[playerid] != || PlayerFrozen[playerid] != 
Are you using them?
Reply
#5

pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

#else

main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
    // Don't use these lines if it's a filterscript
    SetGameModeText("Blank Script");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}

public OnGameModeExit()
{
    return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
}

public OnPlayerConnect(playerid)
{
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    return 1;
}

public OnPlayerSpawn(playerid)
{
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    return 1;
}

public OnVehicleSpawn(vehicleid)
{
    return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
    return 1;
}

public OnPlayerText(playerid, text[])
{
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
        if(strcmp(cmd, "/animhelp", true) == 0 || strcmp(cmd, "/animlist", true) == 0)
    {
        SendClientMessage(playerid, COLOR_WHITE,"____________________________________________");
        SendClientMessage(playerid, COLOR_GRAD1," /handsup, /drunk, /cry, /bomb, /wank, /skate, /lookout,   /hitch,  /crabs, /rap.");
        SendClientMessage(playerid, COLOR_GRAD1," /showoff, /dance, /dj,  /what, /lean, /vomit, /getjiggy,  /robman, /greet, /fucku.");
        SendClientMessage(playerid, COLOR_GRAD2," /fuckme,  /cheer, /cpr, /kiss, /gift, /stand, /fallover,  /taichi, /pedmove.");
        SendClientMessage(playerid, COLOR_GRAD2," /slapass, /laugh, /bj,  /piss, /stop, /crack, /nobreath,  /signal, /followme.");
        SendClientMessage(playerid, COLOR_GRAD3," /gesture  /hide,  /rob, /wave, /hurt, /smoke, /washhands, /salute, /crossarms.");
        SendClientMessage(playerid, COLOR_GRAD3," /sitdown, /relax, /sit, /dive, /deal, /sleep, /bitchslap, /reload, /checktime.");
        return 1;
    }
    if(strcmp(cmd,"/sit", true) == 0)
    {
        if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
        {
            SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
            return 1;
        }
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /sit [1-5]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 5) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /sit [1-5]"); return 1; }
        if(anumber == 1) { LoopingAnim(playerid,"BEACH","bather",4.0,1,0,0,0,0); }
        if(anumber == 2) { LoopingAnim(playerid,"BEACH","Lay_Bac_Loop",4.0,1,0,0,0,0); }
        if(anumber == 3) { LoopingAnim(playerid,"BEACH","ParkSit_W_loop",4.0,1,0,0,0,0); }
        if(anumber == 4) { LoopingAnim(playerid,"BEACH","SitnWait_loop_W",4.0,1,0,0,0,0); }
        if(anumber == 4) { LoopingAnim(playerid,"BEACH","SitnWait_loop_W",4.0,1,0,0,0,0); }
        if(anumber == 5) { LoopingAnim(playerid,"BEACH", "ParkSit_M_loop", 4.0,1,0,0,0,0); }
        return 1;
    }
    if(strcmp(cmd,"/nobreath", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /nobreath [1-2]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 2) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /nobreath [1-2]"); return 1; }
        if(anumber == 1) { LoopingAnim(playerid,"PED","IDLE_tired",4.0,1,0,0,0,0); }
        if(anumber == 2) { LoopingAnim(playerid,"FAT","IDLE_tired",4.0,1,0,0,0,0); }
        return 1;
    }
    if(strcmp(cmd, "/sitonchair", true) == 0 || strcmp(cmd, "/sitdown", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /sitonchair [1-7] or /sitdown [1-7]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 7) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /sitonchair [1-7]"); return 1; }
        if(anumber == 1) { LoopingAnim(playerid,"Attractors","Stepsit_in",4.0,0,0,0,1,0); } // Not looping
        else if(anumber == 2) { LoopingAnim(playerid,"CRIB","PED_Console_Loop",4.0,1,0,0,0,0); }
        else if(anumber == 3) { LoopingAnim(playerid,"INT_HOUSE","LOU_In",4.0,0,0,0,1,0); } // Not looping
        else if(anumber == 4) { LoopingAnim(playerid,"MISC","SEAT_LR",4.0,1,0,0,0,0); }
        else if(anumber == 5) { LoopingAnim(playerid,"MISC","Seat_talk_01",4.0,1,0,0,0,0); }
        else if(anumber == 6) { LoopingAnim(playerid,"MISC","Seat_talk_02",4.0,1,0,0,0,0); }
        else if(anumber == 7) { LoopingAnim(playerid,"ped","SEAT_down",4.0,0,0,0,1,0); } // Not looping
        return 1;
    }
    if(strcmp(cmd, "/handsup", true) == 0)
    {
        if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
        {
            SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
            return 1;
        }
        SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
        return 1;
    }
    if(strcmp(cmd, "/dance", true) == 0)
    {
        new Float:x, Float:y, Float:z, Float:v;
        GetPlayerVelocity(playerid, x, y, z);
        v = floatsqroot( floatpower(x,2) + floatpower(y,2) + floatpower(z,2) );

        if(v > 0.05)
        {
            SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
            return 1;
        }

        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /dance [style 1-4]");
            return 1;
        }
        if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
        {
            SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
            return 1;
        }
        new dancestyle = strval(tmp);
        if(dancestyle < 1 || dancestyle > 4)
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /dance [style 1-4]");
            return 1;
        }
        if(dancestyle == 1) SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE1);
        else if(dancestyle == 2) SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE2);
        else if(dancestyle == 3) SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE3);
        else if(dancestyle == 4) SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE4);
        return 1;
    }
    if(strcmp(cmd, "/crossarms", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /crossarms [1-5]");
            return 1;
        }
        if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
        {
            SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 6)
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /crossarms [1-5]");
            return 1;
        }
        if(anumber == 1) LoopingAnim(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
        else if(anumber == 2) LoopingAnim(playerid, "DEALER", "DEALER_IDLE", 4.0, 0, 1, 1, 1, -1);
        else if(anumber == 3) LoopingAnim(playerid, "DEALER", "DEALER_IDLE_01", 4.0, 0, 1, 1, 1, -1);
        else if(anumber == 4) { LoopingAnim(playerid,"GRAVEYARD","mrnM_loop",4.0,1,0,0,0,0); }
        else if(anumber == 5)
        {
            if(IsGod[playerid] == 1)
            {
                SendClientMessage(playerid, COLOR_WHITE, "Admins Online:");
                for(new i = 0; i < MAX_PLAYERS; i++)
                {
                    if(IsPlayerConnected(i))
                    {
                        if(PlayerInfo[i][pAdmin] > 0)
                        {
                            GetPlayerName(i, giveplayer, sizeof(giveplayer));
                            format(string, sizeof(string), "%d Admin: %s",PlayerInfo[i][pAdmin],giveplayer);
                            SendClientMessage(playerid, COLOR_GREY, string);
                        }
                    }
                }
            }
            else { LoopingAnim(playerid,"GRAVEYARD","prst_loopa",4.0,1,0,0,0,0); }
        }
    }
    if(strcmp(cmd,"/getjiggy", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /getjiggy [1-10]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 10) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /getjiggy [1-10]"); return 1; }
        if(anumber == 1) { LoopingAnim(playerid,"DANCING","DAN_Down_A",4.0,1,0,0,0,0); }
        if(anumber == 2) { LoopingAnim(playerid,"DANCING","DAN_Left_A",4.0,1,0,0,0,0); }
        if(anumber == 3) { LoopingAnim(playerid,"DANCING","DAN_Loop_A",4.0,1,0,0,0,0); }
        if(anumber == 4) { LoopingAnim(playerid,"DANCING","DAN_Right_A",4.0,1,0,0,0,0); }
        if(anumber == 5) { LoopingAnim(playerid,"DANCING","DAN_Up_A",4.0,1,0,0,0,0); }
        if(anumber == 6) { LoopingAnim(playerid,"DANCING","dnce_M_a",4.0,1,0,0,0,0); }
        if(anumber == 7) { LoopingAnim(playerid,"DANCING","dnce_M_b",4.0,1,0,0,0,0); }
        if(anumber == 8) { LoopingAnim(playerid,"DANCING","dnce_M_c",4.0,1,0,0,0,0); }
        if(anumber == 9) { LoopingAnim(playerid,"DANCING","dnce_M_c",4.0,1,0,0,0,0); }
        if(anumber == 10) { LoopingAnim(playerid,"DANCING","dnce_M_d",4.0,1,0,0,0,0); }
        return 1;
    }
    if(strcmp(cmd,"/pedmove", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /pedmove [1-26]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 26) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /pedmove [1-26]"); return 1; }
        if(anumber == 1) { LoopingAnim(playerid,"PED","JOG_femaleA",4.0,1,1,1,1,1); }
        if(anumber == 2) { LoopingAnim(playerid,"PED","JOG_maleA",4.0,1,1,1,1,1); }
        if(anumber == 3) { LoopingAnim(playerid,"PED","WOMAN_walkfatold",4.0,1,1,1,1,1); }
        if(anumber == 4) { LoopingAnim(playerid,"PED","run_fat",4.0,1,1,1,1,1); }
        if(anumber == 5) { LoopingAnim(playerid,"PED","run_fatold",4.0,1,1,1,1,1); }
        if(anumber == 6) { LoopingAnim(playerid,"PED","run_old",4.0,1,1,1,1,1); }
        if(anumber == 7) { LoopingAnim(playerid,"PED","Run_Wuzi",4.0,1,1,1,1,1); }
        if(anumber == 8) { LoopingAnim(playerid,"PED","swat_run",4.0,1,1,1,1,1); }
        if(anumber == 9) { LoopingAnim(playerid,"PED","WALK_fat",4.0,1,1,1,1,1); }
        if(anumber == 10) { LoopingAnim(playerid,"PED","WALK_fatold",4.0,1,1,1,1,1); }
        if(anumber == 11) { LoopingAnim(playerid,"PED","WALK_gang1",4.0,1,1,1,1,1); }
        if(anumber == 12) { LoopingAnim(playerid,"PED","WALK_gang2",4.0,1,1,1,1,1);}
        if(anumber == 13) { LoopingAnim(playerid,"PED","WALK_old",4.0,1,1,1,1,1);}
        if(anumber == 14) { LoopingAnim(playerid,"PED","WALK_shuffle",4.0,1,1,1,1,1);}
        if(anumber == 15) { LoopingAnim(playerid,"PED","woman_run",4.0,1,1,1,1,1);}
        if(anumber == 16) { LoopingAnim(playerid,"PED","WOMAN_runbusy",4.0,1,1,1,1,1); }
        if(anumber == 17) { LoopingAnim(playerid,"PED","WOMAN_runfatold",4.0,1,1,1,1,1); }
        if(anumber == 18) { LoopingAnim(playerid,"PED","woman_runpanic",4.0,1,1,1,1,1); }
        if(anumber == 19) { LoopingAnim(playerid,"PED","WOMAN_runsexy",4.0,1,1,1,1,1); }
        if(anumber == 20) { LoopingAnim(playerid,"PED","WOMAN_walkbusy",4.0,1,1,1,1,1);}
        if(anumber == 21) { LoopingAnim(playerid,"PED","WOMAN_walkfatold",4.0,1,1,1,1,1); }
        if(anumber == 22) { LoopingAnim(playerid,"PED","WOMAN_walknorm",4.0,1,1,1,1,1); }
        if(anumber == 23) { LoopingAnim(playerid,"PED","WOMAN_walkold",4.0,1,1,1,1,1); }
        if(anumber == 24) { LoopingAnim(playerid,"PED","WOMAN_walkpro",4.0,1,1,1,1,1);}
        if(anumber == 25) { LoopingAnim(playerid,"PED","WOMAN_walksexy",4.0,1,1,1,1,1);}
        if(anumber == 26) { LoopingAnim(playerid,"PED","WOMAN_walkshop",4.0,1,1,1,1,1); }
        return 1;
    }
    if(strcmp(cmd, "/rap", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /rap [style 1-3]");
            return 1;
        }
        new rapstyle = strval(tmp);
        if(rapstyle < 1 || rapstyle > 3)
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /rap [style 1-3]");
            return 1;
        }
        if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
        {
            SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
            return 1;
        }
        if(rapstyle == 1) LoopingAnim(playerid,"RAPPING","RAP_A_Loop",4.0,1,1,1,1,0);
        else if(rapstyle == 2) LoopingAnim(playerid,"RAPPING","RAP_B_Loop",4.0,1,1,1,1,0);
        else if(rapstyle == 3) LoopingAnim(playerid,"RAPPING","RAP_C_Loop",4.0,1,1,1,1,0);
        return 1;
    }
    if(strcmp(cmd, "/reload", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /reload [style 1-5]");
            return 1;
        }
        new rstyle = strval(tmp);
        if(rstyle < 1 || rstyle > 5)
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /reload [style 1-5]");
            return 1;
        }
        if(rstyle == 1) ApplyAnimation(playerid,"COLT45","colt45_reload", 4.0, 0, 0, 0, 0, 0);
        else if(rstyle == 2) ApplyAnimation(playerid,"COLT45","sawnoff_reload", 4.0, 0, 0, 0, 0, 0);
        else if(rstyle == 3) ApplyAnimation(playerid,"BUDDY","buddy_reload", 4.0, 0, 0, 0, 0, 0);
        else if(rstyle == 4) ApplyAnimation(playerid,"RIFLE","RIFLE_load", 4.0, 0, 0, 0, 0, 0);
        else if(rstyle == 5) ApplyAnimation(playerid,"PYTHON","python_reload", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(strcmp(cmd,"/dj", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /dj [1-4]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 4) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /dj [1-4]"); return 1; }
        if(anumber == 1) { LoopingAnim(playerid,"SCRATCHING","scdldlp",4.0,1,0,0,0,0); }
        if(anumber == 2) { LoopingAnim(playerid,"SCRATCHING","scdlulp",4.0,1,0,0,0,0); }
        if(anumber == 3) { LoopingAnim(playerid,"SCRATCHING","scdrdlp",4.0,1,0,0,0,0); }
        if(anumber == 4) { LoopingAnim(playerid,"SCRATCHING","scdrulp",4.0,1,0,0,0,0); }
        return 1;
    }
    if(strcmp(cmd, "/skate", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /skate [style 1-3]");
            return 1;
        }
        new rstyle = strval(tmp);
        if(rstyle < 1 || rstyle > 6)
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /skate [style 1-3]");
            return 1;
        }
        if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
        {
            SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
            return 1;
        }
        if(rstyle == 1) LoopingAnim(playerid,"SKATE","skate_idle", 4.0, 1, 1, 1, 1, 1);
        else if(rstyle == 2) LoopingAnim(playerid,"SKATE","skate_run", 4.0, 1, 1, 1, 1, 1);
        else if(rstyle == 3) LoopingAnim(playerid,"SKATE","skate_sprint", 4.0, 1, 1, 1, 1, 1);
        return 1;
    }
    if(strcmp(cmd, "/wank", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /wank [style 1-3]");
            return 1;
        }
        new wankstyle = strval(tmp);
        if(wankstyle < 1 || wankstyle > 3)
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /wank [style 1-3]");
            return 1;
        }
        if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
        {
            SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
            return 1;
        }
        if(wankstyle == 1) LoopingAnim(playerid,"PAULNMAC","wank_in",4.0,1,1,1,1,0);
        else if(wankstyle == 2) LoopingAnim(playerid,"PAULNMAC","wank_loop",4.0,1,1,1,1,0);
        else if(wankstyle == 3) OnePlayAnim(playerid,"PAULNMAC","wank_out",4.0,0,0,0,0,0);
        return 1;
    }
    if(strcmp(cmd, "/fuckme", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /fuckme [style 1-8]");
            return 1;
        }
        new sexstyle = strval(tmp);
        if(sexstyle < 1 || sexstyle > 8)
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /fuckme [style 1-8]");
            return 1;
        }
        if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
        {
            SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
            return 1;
        }
        if(sexstyle == 1) LoopingAnim(playerid,"SNM","SPANKING_IDLEW",4.1,0,1,1,1,0);
        else if(sexstyle == 2) LoopingAnim(playerid,"SNM","SPANKING_IDLEP",4.1,0,1,1,1,0);
        else if(sexstyle == 3) LoopingAnim(playerid,"SNM","SPANKINGW",4.1,0,1,1,1,0);
        else if(sexstyle == 4) LoopingAnim(playerid,"SNM","SPANKINGP",4.1,0,1,1,1,0);
        else if(sexstyle == 5) LoopingAnim(playerid,"SNM","SPANKEDW",4.1,0,1,1,1,0);
        else if(sexstyle == 6) LoopingAnim(playerid,"SNM","SPANKEDP",4.1,0,1,1,1,0);
        else if(sexstyle == 7) LoopingAnim(playerid,"SNM","SPANKING_ENDW",4.1,0,1,1,1,0);
        else if(sexstyle == 8) LoopingAnim(playerid,"SNM","SPANKING_ENDP",4.1,0,1,1,1,0);
        return 1;
    }
    if(strcmp(cmd, "/bj", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /bj [style 1-12]");
            return 1;
        }
        new bjstyle = strval(tmp);
        if(PlayerTied[playerid] != 0 || PlayerCuffed[playerid] != 0 || PlayerFrozen[playerid] != 0 || IsPlayerInAnyVehicle(playerid))
        {
            SendClientMessage(playerid, COLOR_GREY, "   You can't do that at this time !");
            return 1;
        }
        if(bjstyle < 1 || bjstyle > 12)
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /bj [style 1-12]");
            return 1;
        }
        if(bjstyle == 1) LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_START_P",4.1,0,1,1,1,0);
        else if(bjstyle == 2) LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_START_W",4.1,0,1,1,1,0);
        else if(bjstyle == 3) LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_LOOP_P",4.1,0,1,1,1,0);
        else if(bjstyle == 4) LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_LOOP_W",4.1,0,1,1,1,0);
        else if(bjstyle == 5) LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_END_P",4.1,0,1,1,1,0);
        else if(bjstyle == 6) LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_END_W",4.1,0,1,1,1,0);
        else if(bjstyle == 7) LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_START_P",4.1,0,1,1,1,0);
        else if(bjstyle == 8) LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_START_W",4.1,0,1,1,1,0);
        else if(bjstyle == 9) LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_LOOP_P",4.1,0,1,1,1,0);
        else if(bjstyle == 10) LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_LOOP_W",4.1,0,1,1,1,0);
        else if(bjstyle == 11) LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_END_P",4.1,0,1,1,1,0);
        else if(bjstyle == 12) LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_END_W",4.1,0,1,1,1,0);
        return 1;
    }
    if(strcmp(cmd,"/signal", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /signal [1-2]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 2) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /signal [1-2]"); return 1; }
        if(anumber == 1) { LoopingAnim(playerid,"POLICE","CopTraf_Come",4.0,0,0,0,0,0); }
        if(anumber == 2) { LoopingAnim(playerid,"POLICE","CopTraf_Stop",4.0,0,0,0,0,0); }
        return 1;
    }
    if(strcmp(cmd, "/lean", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE /lean [1-2]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 2) { SendClientMessage(playerid,0xFF0000FF,"USAGE /lean [1-2]"); return 1; }
        if(anumber == 1) { LoopingAnim(playerid,"GANGS","leanIDLE",4.1,0,0,0,1,0); }
        else if(anumber == 2) { LoopingAnim(playerid,"MISC","Plyrlean_loop",4.1,0,0,0,1,0); }
        return 1;
    }
    if(strcmp(cmd, "/sleep", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE /sleep [1-2]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 4) { SendClientMessage(playerid,0xFF0000FF,"USAGE /sleep [1-2]"); return 1; }
        if(anumber == 1) { LoopingAnim(playerid,"CRACK","crckdeth4",4.0,0,0,0,1,0); }
        else if(anumber == 2) { LoopingAnim(playerid,"CRACK","crckidle2",4.0,0,0,0,1,0); }
        return 1;
    }
    if(strcmp(cmd,"/fallover", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /fallover [1-4]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 4) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /fallover [1-4]"); return 1; }
        if(anumber == 1) { LoopingAnim(playerid,"KNIFE","KILL_Knife_Ped_Die",4.0,0,1,1,1,0); }
        if(anumber == 2) { LoopingAnim(playerid,"PED","KO_shot_face",4.0,0,1,1,1,0); }
        if(anumber == 3) { LoopingAnim(playerid,"PED","KO_shot_stom",4.0,0,1,1,1,0); }
        if(anumber == 4) { LoopingAnim(playerid, "PED", "BIKE_fallR", 4.0, 0, 1, 1, 0, 0); }
        return 1;
    }
    if(strcmp(cmd,"/wave", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /wave [1-3]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 3) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /wave [1-3]"); return 1; }
        if(anumber == 1) { LoopingAnim(playerid,"ON_LOOKERS","wave_loop",4.0,1,0,0,0,0); }
        if(anumber == 2) { OnePlayAnim(playerid,"KISSING","gfwave2",4.0,0,0,0,0,0); }
        if(anumber == 3) { OnePlayAnim(playerid,"PED","endchat_03",4.0,0,0,0,0,0); }
        return 1;
    }
    if(strcmp(cmd,"/cheer", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /cheer [1-8]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 8) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /cheer [1-8]"); return 1; }
        if(anumber == 1) { OnePlayAnim(playerid,"ON_LOOKERS","shout_01",4.0,0,0,0,0,0); }
        if(anumber == 2) { OnePlayAnim(playerid,"ON_LOOKERS","shout_02",4.0,0,0,0,0,0); }
        if(anumber == 3) { OnePlayAnim(playerid,"ON_LOOKERS","shout_in",4.0,0,0,0,0,0); }
        if(anumber == 4) { LoopingAnim(playerid,"RIOT","RIOT_ANGRY_B",4.0,1,0,0,0,0); }
        if(anumber == 5) { OnePlayAnim(playerid,"RIOT","RIOT_CHANT",4.0,0,0,0,0,0); }
        if(anumber == 6) { OnePlayAnim(playerid,"RIOT","RIOT_shout",4.0,0,0,0,0,0); }
        if(anumber == 7) { OnePlayAnim(playerid,"STRIP","PUN_HOLLER",4.0,0,0,0,0,0); }
        if(anumber == 8) { OnePlayAnim(playerid,"OTB","wtchrace_win",4.0,0,0,0,0,0); }
        return 1;
    }
    if(strcmp(cmd,"/deal", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /deal [1-2]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 2) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /deal [1-2]"); return 1; }
        if(anumber == 1) { OnePlayAnim(playerid,"DEALER", "DEALER_DEAL",4.0,0,0,0,0,0); }
        if(anumber == 2) { OnePlayAnim(playerid,"DEALER","shop_pay",4.0,0,0,0,0,0); }
        return 1;
    }
    if(strcmp(cmd,"/chat", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /chat [1-7]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 7) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /chat [1-7]"); return 1; }
        if(anumber == 1) { OnePlayAnim(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0); }
        if(anumber == 2) { OnePlayAnim(playerid,"GANGS","prtial_gngtlkA",4.0,0,0,0,0,0); }
        if(anumber == 3) { OnePlayAnim(playerid,"GANGS","prtial_gngtlkB",4.0,0,0,0,0,0); }
        if(anumber == 4) { OnePlayAnim(playerid,"GANGS","prtial_gngtlkE",4.0,0,0,0,0,0); }
        if(anumber == 5) { OnePlayAnim(playerid,"GANGS","prtial_gngtlkF",4.0,0,0,0,0,0); }
        if(anumber == 6) { OnePlayAnim(playerid,"GANGS","prtial_gngtlkG",4.0,0,0,0,0,0); }
        if(anumber == 7) { OnePlayAnim(playerid,"GANGS","prtial_gngtlkH",4.0,0,0,0,0,0); }
        return 1;
    }
    if(strcmp(cmd,"/gesture", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /gesture [1-15]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 15) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /gesture [1-15]"); return 1; }
        if(anumber == 1) { OnePlayAnim(playerid,"GHANDS","gsign1",4.0,0,0,0,0,0); }
        if(anumber == 2) { OnePlayAnim(playerid,"GHANDS","gsign1LH",4.0,0,0,0,0,0); }
        if(anumber == 3) { OnePlayAnim(playerid,"GHANDS","gsign2",4.0,0,0,0,0,0); }
        if(anumber == 4) { OnePlayAnim(playerid,"GHANDS","gsign2LH",4.0,0,0,0,0,0); }
        if(anumber == 5) { OnePlayAnim(playerid,"GHANDS","gsign3",4.0,0,0,0,0,0);}
        if(anumber == 6) { OnePlayAnim(playerid,"GHANDS","gsign3LH",4.0,0,0,0,0,0); }
        if(anumber == 7) { OnePlayAnim(playerid,"GHANDS","gsign4",4.0,0,0,0,0,0); }
        if(anumber == 8) { OnePlayAnim(playerid,"GHANDS","gsign4LH",4.0,0,0,0,0,0); }
        if(anumber == 9) { OnePlayAnim(playerid,"GHANDS","gsign5",4.0,0,0,0,0,0); }
        if(anumber == 10) { OnePlayAnim(playerid,"GHANDS","gsign5",4.0,0,0,0,0,0); }
        if(anumber == 11) { OnePlayAnim(playerid,"GHANDS","gsign5LH",4.0,0,0,0,0,0); }
        if(anumber == 12) { OnePlayAnim(playerid,"GANGS","Invite_No",4.0,0,0,0,0,0); }
        if(anumber == 13) { OnePlayAnim(playerid,"GANGS","Invite_Yes",4.0,0,0,0,0,0); }
        if(anumber == 14) { OnePlayAnim(playerid,"GANGS","prtial_gngtlkD",4.0,0,0,0,0,0); }
        if(anumber == 15) { OnePlayAnim(playerid,"GANGS","smkcig_prtl",4.0,0,0,0,0,0); }
        return 1;
    }
    if(strcmp(cmd,"/smoke", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /smoke [1-2]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 2) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /smoke [1-2]"); return 1; }
        if(anumber == 1) { OnePlayAnim(playerid,"SMOKING","M_smk_in",4.0,0,0,0,0,0); }
        if(anumber == 2) { LoopingAnim(playerid,"SMOKING","M_smklean_loop",4.0,1,0,0,0,0); }
        return 1;
    }
    if(strcmp(cmd,"/hurt", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid,0xFF0000FF,"USAGE: /hurt [1-2]");
            return 1;
        }
        anumber = strval(tmp);
        if(anumber < 1 || anumber > 2) { SendClientMessage(playerid,0xFF0000FF,"USAGE: /hurt [1-2]"); return 1; }
        if(anumber == 1) { LoopingAnim(playerid,"SWAT","gnstwall_injurd",4.0,1,0,0,0,0); }
        if(anumber == 2) { LoopingAnim(playerid,"SWEET","Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0); }
        PlayerHurt[playerid] = 1;
        return 1;
    }
    return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
    return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
    return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
    return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
    return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
    return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
    return 1;
}

public OnRconCommand(cmd[])
{
    return 1;
}

public OnPlayerRequestSpawn(playerid)
{
    return 1;
}

public OnObjectMoved(objectid)
{
    return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
    return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
    return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
    return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
    return 1;
}

public OnPlayerExitedMenu(playerid)
{
    return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
    return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
    return 1;
}

public OnPlayerUpdate(playerid)
{
    return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
    return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
    return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
    return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
    return 1;
}
Reply
#6

Don't use ranger's code, his code will set your gamemode text to Blank script rofl
Reply
#7

duh comment or delete the blank script area
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)