SA-MP Forums Archive
Sex animations - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Sex animations (/showthread.php?tid=153659)



Sex animations - Hernaner28 - 10.06.2010

Hi all. Here I have all sex animations:

Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
  //Blowjob
  if(strcmp(cmdtext, "/bj", true) == 0)
  {
    if(!strlen(cmdtext[4])) return SendClientMessage(playerid, red, "Usage: /bj [1-18]");
    switch (cmdtext[4])
  	{
		  case '1': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_START_W", 4.0, 1, 1, 1, 1, 0);
		  case '2': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_START_P", 4.0, 1, 1, 1, 1, 0);
		  case '3': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_W", 4.0, 1, 1, 1, 1, 0);
		  case '4': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_P", 4.0, 1, 1, 1, 1, 0);
		  case '5': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_END_W", 4.0, 1, 1, 1, 1, 0);
		  case '6': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_END_P", 4.0, 1, 1, 1, 1, 0);
		  case '7': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_START_W", 4.0, 1, 1, 1, 1, 0);
		  case '8': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_START_P", 4.0, 1, 1, 1, 1, 0);
		  case '9': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_W", 4.0, 1, 1, 1, 1, 0);
		  case '10': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_P", 4.0, 1, 1, 1, 1, 0);
		  case '11': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_END_W", 4.0, 1, 1, 1, 1, 0);
		  case '12': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_END_P", 4.0, 1, 1, 1, 1, 0);
		  case '13': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_START_W", 4.0, 1, 1, 1, 1, 0);
		  case '14': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_START_P", 4.0, 1, 1, 1, 1, 0);
		  case '15': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_LOOP_W", 4.0, 1, 1, 1, 1, 0);
		  case '16': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_LOOP_P", 4.0, 1, 1, 1, 1, 0);
		  case '17': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_END_W", 4.0, 1, 1, 1, 1, 0);
		  case '18': ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_END_P", 4.0, 1, 1, 1, 1, 0);
		  default: SendClientMessage(playerid, red, "Usage: /bj [1-18]");
  	}
  	return 1;
  }

  //Spank
  if(strcmp(cmdtext, "/spank", true) == 0)
  {
    if(!strlen(cmdtext[7])) return SendClientMessage(playerid, red, "Usage: /spank [1-8]");
    switch (cmdtext[7])
  	{
		  case '1': ApplyAnimation(playerid, "SNM", "SPANKING_IDLEW", 4.0, 1, 1, 1, 1, 0);
		  case '2': ApplyAnimation(playerid, "SNM", "SPANKING_IDLEP", 4.0, 1, 1, 1, 1, 0);
		  case '3': ApplyAnimation(playerid, "SNM", "SPANKINGW", 4.0, 1, 1, 1, 1, 0);
		  case '4': ApplyAnimation(playerid, "SNM", "SPANKINGP", 4.0, 1, 1, 1, 1, 0);
		  case '5': ApplyAnimation(playerid, "SNM", "SPANKEDW", 4.0, 1, 1, 1, 1, 0);
		  case '6': ApplyAnimation(playerid, "SNM", "SPANKEDP", 4.0, 1, 1, 1, 1, 0);
		  case '7': ApplyAnimation(playerid, "SNM", "SPANKING_ENDW", 4.0, 1, 1, 1, 1, 0);
		  case '8': ApplyAnimation(playerid, "SNM", "SPANKING_ENDP", 4.0, 1, 1, 1, 1, 0);
		  default: SendClientMessage(playerid, red, "Usage: /spank [1-8]");
  	}
  	return 1;
  }

  //Sex
  if(strcmp(cmdtext, "/sex", true) == 0)
  {
    if(!strlen(cmdtext[5])) return SendClientMessage(playerid, red, "Usage: /sex [1-20]");
    switch (cmdtext[5])
  	{
		  case '1': ApplyAnimation(playerid, "SEX", "SEX_1_W", 4.0, 1, 1, 1, 1, 0);
		  case '2': ApplyAnimation(playerid, "SEX", "SEX_1_P", 4.0, 1, 1, 1, 1, 0);
		  case '3': ApplyAnimation(playerid, "SEX", "SEX_1_CUM_W", 4.0, 1, 1, 1, 1, 0);
		  case '4': ApplyAnimation(playerid, "SEX", "SEX_1_CUM_P", 4.0, 1, 1, 1, 1, 0);
		  case '5': ApplyAnimation(playerid, "SEX", "SEX_1_FAIL_W", 4.0, 1, 1, 1, 1, 0);
		  case '6': ApplyAnimation(playerid, "SEX", "SEX_1_FAIL_P", 4.0, 1, 1, 1, 1, 0);
		  case '7': ApplyAnimation(playerid, "SEX", "SEX_1TO2_P", 4.0, 1, 1, 1, 1, 0);
		  case '8': ApplyAnimation(playerid, "SEX", "SEX_1TO2_W", 4.0, 1, 1, 1, 1, 0);
		  case '9': ApplyAnimation(playerid, "SEX", "SEX_2_W", 4.0, 1, 1, 1, 1, 0);
		  case '10': ApplyAnimation(playerid, "SEX", "SEX_2_P", 4.0, 1, 1, 1, 1, 0);
		  case '11': ApplyAnimation(playerid, "SEX", "SEX_2_FAIL_W", 4.0, 1, 1, 1, 1, 0);
		  case '12': ApplyAnimation(playerid, "SEX", "SEX_2_FAIL_P", 4.0, 1, 1, 1, 1, 0);
		  case '13': ApplyAnimation(playerid, "SEX", "SEX_2TO3_P", 4.0, 1, 1, 1, 1, 0);
		  case '14': ApplyAnimation(playerid, "SEX", "SEX_2TO3_W", 4.0, 1, 1, 1, 1, 0);
		  case '15': ApplyAnimation(playerid, "SEX", "SEX_3_W", 4.0, 1, 1, 1, 1, 0);
		  case '16': ApplyAnimation(playerid, "SEX", "SEX_3_P", 4.0, 1, 1, 1, 1, 0);
		  case '17': ApplyAnimation(playerid, "SEX", "SEX_3_FAIL_W", 4.0, 1, 1, 1, 1, 0);
		  case '18': ApplyAnimation(playerid, "SEX", "SEX_3_FAIL_P", 4.0, 1, 1, 1, 1, 0);
		  case '19': ApplyAnimation(playerid, "SEX", "SEX_3TO1_W", 4.0, 1, 1, 1, 1, 0);
		  case '20': ApplyAnimation(playerid, "SEX", "SEX_3TO1_P", 4.0, 1, 1, 1, 1, 0);
		  default: SendClientMessage(playerid, red, "Usage: /sex [1-20]");
  	}
  	return 1;
  }
  return 0;
}
The problem is that there are some errors when is case '10' or another number of more than one digit. Can someone fix this? THANKS!


Re: Sex animations - NiiRV4N4 - 10.06.2010

Maybe the animation is wrong


Re: Sex animations - Antonio [G-RP] - 10.06.2010

cmdtext[number] might be off..


Re: Sex animations - Hernaner28 - 10.06.2010

Quote:
Originally Posted by ♂ Antonio_
cmdtext[number] might be off..
So, what should I change?


Re: Sex animations - ziomal432 - 10.06.2010

It's because you're comparing one letter, not two. It would be better to use strval.


Re: Sex animations - Hernaner28 - 10.06.2010

I dont understand!!! Can you make one line at least please? Is that asking for too much? I'd be really appreciated


Re: Sex animations - Hernaner28 - 10.06.2010

Quote:
Originally Posted by Karlip
<edited, didn't understand you at first>
OK, Im just asking for you to fix at least one line if it is too hard. I dont understand when you tell me to change to strval. I think that it is maybe easier that you do it instead... because that is what I'm asking for.Thanks.


Re: Sex animations - Hernaner28 - 10.06.2010

Quote:
Originally Posted by ziomal432
It's because you're comparing one letter, not two. It would be better to use strval.
May you make me the favour? Thanks.


Re: Sex animations - PotH3Ad - 10.06.2010

Try this:

pawn Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
  //Blowjob
  if(strcmp(cmdtext, "/bj", true) == 0)
  {
    if(!strlen(cmdtext[4])) return SendClientMessage(playerid, red, "Usage: /bj [1-18]");
    switch(strval(cmdtext[4]))
    {
          case 1: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_START_W", 4.0, 1, 1, 1, 1, 0);
          case 2: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_START_P", 4.0, 1, 1, 1, 1, 0);
          case 3: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_W", 4.0, 1, 1, 1, 1, 0);
          case 4: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_P", 4.0, 1, 1, 1, 1, 0);
          case 5: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_END_W", 4.0, 1, 1, 1, 1, 0);
          case 6: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_END_P", 4.0, 1, 1, 1, 1, 0);
          case 7: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_START_W", 4.0, 1, 1, 1, 1, 0);
          case 8: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_START_P", 4.0, 1, 1, 1, 1, 0);
          case 9: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_W", 4.0, 1, 1, 1, 1, 0);
          case 10: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_P", 4.0, 1, 1, 1, 1, 0);
          case 11: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_END_W", 4.0, 1, 1, 1, 1, 0);
          case 12: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_END_P", 4.0, 1, 1, 1, 1, 0);
          case 13: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_START_W", 4.0, 1, 1, 1, 1, 0);
          case 14: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_START_P", 4.0, 1, 1, 1, 1, 0);
          case 15: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_LOOP_W", 4.0, 1, 1, 1, 1, 0);
          case 16: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_LOOP_P", 4.0, 1, 1, 1, 1, 0);
          case 17: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_END_W", 4.0, 1, 1, 1, 1, 0);
          case 18: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_END_P", 4.0, 1, 1, 1, 1, 0);
          default: SendClientMessage(playerid, red, "Usage: /bj [1-18]");
    }
    return 1;
  }
  //Spank
  if(strcmp(cmdtext, "/spank", true) == 0)
  {
    if(!strlen(cmdtext[7])) return SendClientMessage(playerid, red, "Usage: /spank [1-8]");
    switch(strval(cmdtext[7]))
    {
          case 1: ApplyAnimation(playerid, "SNM", "SPANKING_IDLEW", 4.0, 1, 1, 1, 1, 0);
          case 2: ApplyAnimation(playerid, "SNM", "SPANKING_IDLEP", 4.0, 1, 1, 1, 1, 0);
          case 3: ApplyAnimation(playerid, "SNM", "SPANKINGW", 4.0, 1, 1, 1, 1, 0);
          case 4: ApplyAnimation(playerid, "SNM", "SPANKINGP", 4.0, 1, 1, 1, 1, 0);
          case 5: ApplyAnimation(playerid, "SNM", "SPANKEDW", 4.0, 1, 1, 1, 1, 0);
          case 6: ApplyAnimation(playerid, "SNM", "SPANKEDP", 4.0, 1, 1, 1, 1, 0);
          case 7: ApplyAnimation(playerid, "SNM", "SPANKING_ENDW", 4.0, 1, 1, 1, 1, 0);
          case 8: ApplyAnimation(playerid, "SNM", "SPANKING_ENDP", 4.0, 1, 1, 1, 1, 0);
          default: SendClientMessage(playerid, red, "Usage: /spank [1-8]");
    }
    return 1;
  }

  //Sex
  if(strcmp(cmdtext, "/sex", true) == 0)
  {
    if(!strlen(cmdtext[5])) return SendClientMessage(playerid, red, "Usage: /sex [1-20]");
    switch(strval(cmdtext[5]))
    {
          case 1: ApplyAnimation(playerid, "SEX", "SEX_1_W", 4.0, 1, 1, 1, 1, 0);
          case 2: ApplyAnimation(playerid, "SEX", "SEX_1_P", 4.0, 1, 1, 1, 1, 0);
          case 3: ApplyAnimation(playerid, "SEX", "SEX_1_CUM_W", 4.0, 1, 1, 1, 1, 0);
          case 4: ApplyAnimation(playerid, "SEX", "SEX_1_CUM_P", 4.0, 1, 1, 1, 1, 0);
          case 5: ApplyAnimation(playerid, "SEX", "SEX_1_FAIL_W", 4.0, 1, 1, 1, 1, 0);
          case 6: ApplyAnimation(playerid, "SEX", "SEX_1_FAIL_P", 4.0, 1, 1, 1, 1, 0);
          case 7: ApplyAnimation(playerid, "SEX", "SEX_1TO2_P", 4.0, 1, 1, 1, 1, 0);
          case 8: ApplyAnimation(playerid, "SEX", "SEX_1TO2_W", 4.0, 1, 1, 1, 1, 0);
          case 9: ApplyAnimation(playerid, "SEX", "SEX_2_W", 4.0, 1, 1, 1, 1, 0);
          case 10: ApplyAnimation(playerid, "SEX", "SEX_2_P", 4.0, 1, 1, 1, 1, 0);
          case 11: ApplyAnimation(playerid, "SEX", "SEX_2_FAIL_W", 4.0, 1, 1, 1, 1, 0);
          case 12: ApplyAnimation(playerid, "SEX", "SEX_2_FAIL_P", 4.0, 1, 1, 1, 1, 0);
          case 13: ApplyAnimation(playerid, "SEX", "SEX_2TO3_P", 4.0, 1, 1, 1, 1, 0);
          case 14: ApplyAnimation(playerid, "SEX", "SEX_2TO3_W", 4.0, 1, 1, 1, 1, 0);
          case 15: ApplyAnimation(playerid, "SEX", "SEX_3_W", 4.0, 1, 1, 1, 1, 0);
          case 16: ApplyAnimation(playerid, "SEX", "SEX_3_P", 4.0, 1, 1, 1, 1, 0);
          case 17: ApplyAnimation(playerid, "SEX", "SEX_3_FAIL_W", 4.0, 1, 1, 1, 1, 0);
          case 18: ApplyAnimation(playerid, "SEX", "SEX_3_FAIL_P", 4.0, 1, 1, 1, 1, 0);
          case 19: ApplyAnimation(playerid, "SEX", "SEX_3TO1_W", 4.0, 1, 1, 1, 1, 0);
          case 20: ApplyAnimation(playerid, "SEX", "SEX_3TO1_P", 4.0, 1, 1, 1, 1, 0);
          default: SendClientMessage(playerid, red, "Usage: /sex [1-20]");
    }
    return 1;
  }
  return 0;
}



Re: Sex animations - Hernaner28 - 10.06.2010

Quote:
Originally Posted by PotH3Ad
Try this:

pawn Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
  //Blowjob
  if(strcmp(cmdtext, "/bj", true) == 0)
  {
    if(!strlen(cmdtext[4])) return SendClientMessage(playerid, red, "Usage: /bj [1-18]");
    switch(strval(cmdtext[4]))
    {
          case 1: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_START_W", 4.0, 1, 1, 1, 1, 0);
          case 2: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_START_P", 4.0, 1, 1, 1, 1, 0);
          case 3: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_W", 4.0, 1, 1, 1, 1, 0);
          case 4: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_P", 4.0, 1, 1, 1, 1, 0);
          case 5: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_END_W", 4.0, 1, 1, 1, 1, 0);
          case 6: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_COUCH_END_P", 4.0, 1, 1, 1, 1, 0);
          case 7: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_START_W", 4.0, 1, 1, 1, 1, 0);
          case 8: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_START_P", 4.0, 1, 1, 1, 1, 0);
          case 9: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_W", 4.0, 1, 1, 1, 1, 0);
          case 10: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_P", 4.0, 1, 1, 1, 1, 0);
          case 11: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_END_W", 4.0, 1, 1, 1, 1, 0);
          case 12: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_STAND_END_P", 4.0, 1, 1, 1, 1, 0);
          case 13: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_START_W", 4.0, 1, 1, 1, 1, 0);
          case 14: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_START_P", 4.0, 1, 1, 1, 1, 0);
          case 15: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_LOOP_W", 4.0, 1, 1, 1, 1, 0);
          case 16: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_LOOP_P", 4.0, 1, 1, 1, 1, 0);
          case 17: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_END_W", 4.0, 1, 1, 1, 1, 0);
          case 18: ApplyAnimation(playerid, "BLOWJOBZ", "BJ_CAR_END_P", 4.0, 1, 1, 1, 1, 0);
          default: SendClientMessage(playerid, red, "Usage: /bj [1-18]");
    }
    return 1;
  }
  //Spank
  if(strcmp(cmdtext, "/spank", true) == 0)
  {
    if(!strlen(cmdtext[7])) return SendClientMessage(playerid, red, "Usage: /spank [1-8]");
    switch(strval(cmdtext[7]))
    {
          case 1: ApplyAnimation(playerid, "SNM", "SPANKING_IDLEW", 4.0, 1, 1, 1, 1, 0);
          case 2: ApplyAnimation(playerid, "SNM", "SPANKING_IDLEP", 4.0, 1, 1, 1, 1, 0);
          case 3: ApplyAnimation(playerid, "SNM", "SPANKINGW", 4.0, 1, 1, 1, 1, 0);
          case 4: ApplyAnimation(playerid, "SNM", "SPANKINGP", 4.0, 1, 1, 1, 1, 0);
          case 5: ApplyAnimation(playerid, "SNM", "SPANKEDW", 4.0, 1, 1, 1, 1, 0);
          case 6: ApplyAnimation(playerid, "SNM", "SPANKEDP", 4.0, 1, 1, 1, 1, 0);
          case 7: ApplyAnimation(playerid, "SNM", "SPANKING_ENDW", 4.0, 1, 1, 1, 1, 0);
          case 8: ApplyAnimation(playerid, "SNM", "SPANKING_ENDP", 4.0, 1, 1, 1, 1, 0);
          default: SendClientMessage(playerid, red, "Usage: /spank [1-8]");
    }
    return 1;
  }

  //Sex
  if(strcmp(cmdtext, "/sex", true) == 0)
  {
    if(!strlen(cmdtext[5])) return SendClientMessage(playerid, red, "Usage: /sex [1-20]");
    switch(strval(cmdtext[5]))
    {
          case 1: ApplyAnimation(playerid, "SEX", "SEX_1_W", 4.0, 1, 1, 1, 1, 0);
          case 2: ApplyAnimation(playerid, "SEX", "SEX_1_P", 4.0, 1, 1, 1, 1, 0);
          case 3: ApplyAnimation(playerid, "SEX", "SEX_1_CUM_W", 4.0, 1, 1, 1, 1, 0);
          case 4: ApplyAnimation(playerid, "SEX", "SEX_1_CUM_P", 4.0, 1, 1, 1, 1, 0);
          case 5: ApplyAnimation(playerid, "SEX", "SEX_1_FAIL_W", 4.0, 1, 1, 1, 1, 0);
          case 6: ApplyAnimation(playerid, "SEX", "SEX_1_FAIL_P", 4.0, 1, 1, 1, 1, 0);
          case 7: ApplyAnimation(playerid, "SEX", "SEX_1TO2_P", 4.0, 1, 1, 1, 1, 0);
          case 8: ApplyAnimation(playerid, "SEX", "SEX_1TO2_W", 4.0, 1, 1, 1, 1, 0);
          case 9: ApplyAnimation(playerid, "SEX", "SEX_2_W", 4.0, 1, 1, 1, 1, 0);
          case 10: ApplyAnimation(playerid, "SEX", "SEX_2_P", 4.0, 1, 1, 1, 1, 0);
          case 11: ApplyAnimation(playerid, "SEX", "SEX_2_FAIL_W", 4.0, 1, 1, 1, 1, 0);
          case 12: ApplyAnimation(playerid, "SEX", "SEX_2_FAIL_P", 4.0, 1, 1, 1, 1, 0);
          case 13: ApplyAnimation(playerid, "SEX", "SEX_2TO3_P", 4.0, 1, 1, 1, 1, 0);
          case 14: ApplyAnimation(playerid, "SEX", "SEX_2TO3_W", 4.0, 1, 1, 1, 1, 0);
          case 15: ApplyAnimation(playerid, "SEX", "SEX_3_W", 4.0, 1, 1, 1, 1, 0);
          case 16: ApplyAnimation(playerid, "SEX", "SEX_3_P", 4.0, 1, 1, 1, 1, 0);
          case 17: ApplyAnimation(playerid, "SEX", "SEX_3_FAIL_W", 4.0, 1, 1, 1, 1, 0);
          case 18: ApplyAnimation(playerid, "SEX", "SEX_3_FAIL_P", 4.0, 1, 1, 1, 1, 0);
          case 19: ApplyAnimation(playerid, "SEX", "SEX_3TO1_W", 4.0, 1, 1, 1, 1, 0);
          case 20: ApplyAnimation(playerid, "SEX", "SEX_3TO1_P", 4.0, 1, 1, 1, 1, 0);
          default: SendClientMessage(playerid, red, "Usage: /sex [1-20]");
    }
    return 1;
  }
  return 0;
}
It doesnt have any error nor warning but it is not working. It just says UNKNOWN COMMAND. I thought it was easier than I thought :O


Re: Sex animations - Hernaner28 - 10.06.2010

Help!


Re: Sex animations - tandytanz - 28.07.2012

Your Problem just 1 ... IN CASE your Case is too many max case is 8 Case maybe so You Must make /sex1 /sex2 /sex3


Re: Sex animations - CoaPsyFactor - 30.07.2012

you check it with strval(cmdtext[4]) and when you have num 10 its cmdtext[4] and 5 cus 10 have 2 chars 1 and 0