how to sit on a chair on sa-mp???
#10

Код:
if(strcmp(cmdtext, "/celebrate", true) == 0) {
		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"Freeweights","gym_free_celebrate",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/rope", true) == 0) {
 		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"ped","abseil",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/fucku", true) == 0) {
 		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"ped","fucku",4.1,1,1,1,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/bomb", true) == 0) {
		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"ped","bomber",4.1,0,1,1,1,1);
 	 		return 1;
		  }
		}
  if(strcmp(cmdtext, "/wall", true) == 0) {
		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"ped","HIT_wall",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/laugh", true) == 0) {
 		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"RAPPING","Laugh_01",4.1,1,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/animrap", true) == 0) {
 		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"RAPPING","RAP_A_IN",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/animrap1", true) == 0) {
 		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"RAPPING","RAP_B_IN",4.1,1,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/animrap2", true) == 0) {
 		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"RAPPING","RAP_A_Loop",4.1,1,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/animrap3", true) == 0) {
 		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"RAPPING","RAP_A_OUT",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/animrap4", true) == 0) {
 		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"RAPPING","RAP_B_Loop",4.1,1,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/animrap5", true) == 0) {
 		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"RAPPING","RAP_B_OUT",4.1,1,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/animrap6", true) == 0) {
 		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"RAPPING","RAP_C_Loop",4.1,1,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/aim", true) == 0) {
 		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"SHOP","ROB_Loop",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/hurt", true) == 0) {
 		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"SWEET","Sweet_Injuredloop",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/sunbath", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"SUNBATHE","batherdown",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/fatrun", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"FAT","FatRun",4.1,1,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/hs", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"GANGS","hndshkfa",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/hs1", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"GANGS","hndshkaa",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/hs2", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"GANGS","hndshkba",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/hs3", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"GANGS","hndshkca",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/hs4", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"GANGS","hndshkda",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/hs5", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"GANGS","hndshkea",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/sit2", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"INT_OFFICE","OFF_Sit_Idle_Loop",4.1,0,0,0,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/sit3", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"INT_OFFICE","OFF_Sit_Type_Loop",4.1,0,0,0,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/sit3", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"INT_OFFICE","OFF_Sit_Watch",4.1,0,0,0,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/sit4", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"LOWRIDER","Sit_relaxed",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/sit5", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"SUNBATHE","ParkSit_M_IdleA",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/sit6", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"SUNBATHE","ParkSit_M_IdleB",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/sit7", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"SUNBATHE","ParkSit_M_IdleC",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/sit8", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"SUNBATHE","ParkSit_M_in",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/sit9", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"SUNBATHE","ParkSit_M_out",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/sit10", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"SUNBATHE","ParkSit_W_idleA",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/sit11", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"SUNBATHE","ParkSit_W_idleB",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/sit12", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"SUNBATHE","ParkSit_W_idleC",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/sit13", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"SUNBATHE","ParkSit_W_in",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/sit14", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"SUNBATHE","ParkSit_W_out",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/riot", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"RIOT","RIOT_Angry",4.1,1,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/riot2", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"RIOT","RIOT_Angry_B",4.1,1,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/riot3", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"RIOT","RIOT_challenge",4.1,1,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/riot4", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"RIOT","RIOT_CHANT",4.1,1,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/riot5", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"RIOT","RIOT_FUKU",4.1,1,1,1,1,1);
 	 		return 1;
		}
	}
	if(strcmp(cmdtext, "/riot6", true) == 0) {
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"RIOT","RIOT_shout",4.1,1,1,1,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/cpr", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"MEDIC","CPR",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/sleep", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"INT_HOUSE","BED_In_L",4.1,0,0,0,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/sit15", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"PED","SEAT_down",4.1,0,0,0,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/sit16", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"PED","SEAT_idle",4.1,0,0,0,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/sit17", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"PED","SEAT_up",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/sit18", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"FOOD","FF_Sit_Loop",4.1,0,0,0,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/sit19", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
		  ApplyAnimation(playerid,"HAIRCUTS","BRB_Sit_Loop",4.1,0,1,1,1,1);
 	 		return 1;
		}
	}
  if(strcmp(cmdtext, "/sit20", true) == 0) {
	  if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
      ApplyAnimation(playerid,"MISC","SEAT_LR",4.1,0,0,0,1,1);
 	 		return 1;
		}
	}
Reply


Messages In This Thread
how to sit on a chair on sa-mp??? - by gijsmin - 24.09.2008, 19:34
Re: how to sit on a chair on sa-mp??? - by matt2127 - 24.09.2008, 19:35
Re: how to sit on a chair on sa-mp??? - by gijsmin - 24.09.2008, 19:37
Re: how to sit on a chair on sa-mp??? - by matt2127 - 24.09.2008, 19:38
Re: how to sit on a chair on sa-mp??? - by gijsmin - 24.09.2008, 20:03
Re: how to sit on a chair on sa-mp??? - by GІ~Gі - 24.09.2008, 20:05
Re: how to sit on a chair on sa-mp??? - by matt2127 - 24.09.2008, 20:21
Re: how to sit on a chair on sa-mp??? - by gijsmin - 24.09.2008, 21:35
Re: how to sit on a chair on sa-mp??? - by matt2127 - 24.09.2008, 21:43
Re: how to sit on a chair on sa-mp??? - by matt2127 - 24.09.2008, 21:44

Forum Jump:


Users browsing this thread: 1 Guest(s)