21.12.2009, 11:48
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
Alot of these errors -
C:\Program Files\Guso\Dvs\LSRP\IK RШR !\test.pwn(3885) : error 017: undefined symbol "LoopingAnim"
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; }
C:\Program Files\Guso\Dvs\LSRP\IK RШR !\test.pwn(3885) : error 017: undefined symbol "LoopingAnim"