LoopingAnim help
#1

When ever i do a LoopingAnim command in pawn i get errors am i missing a include or something?
I've tried searching around but didn't find any help.
Here is the code
Код:
  if(strcmp(cmd, "/rap", true) == 0) {

		  // Get the dance style param
   		tmp = strtok(cmdtext, idx);
			if(!strlen(tmp)) {
				SendClientMessage(playerid,0xFF0000FF,"Usage: /rap [style 1-3]");
				return 1;
			}

			rapstyle = strval(tmp);
			if(rapstyle < 1 || rapstyle > 3) {
			  SendClientMessage(playerid,0xFF0000FF,"Usage: /rap [style 1-3]");
			  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;
		}
Alot of these errors -
C:\Program Files\Guso\Dvs\LSRP\IK RШR !\test.pwn(3885) : error 017: undefined symbol "LoopingAnim"
Reply
#2

Check the gl_actions filterscript in filterscripts folder.. or if you want, you can replace LoopingAnim with ApplyAnimation
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)