28.01.2016, 06:26
Error:
Code:
CMD:camera(playerid, params[])
{
switch(strval(params))
{
44 case 1: { PlayAnimEx(playerid,"CAMERA","piccrch_in",4.1, 0, 1, 1, 1, 1, 1);}
45 case 2: { PlayAnimEx(playerid,"CAMERA","picstnd_in",4.0, 0, 1, 1, 1, 1, 1);}
46 case 3: { PlayAnimEx(playerid,"CAMERA","picstnd_take",4.0, 0, 1, 1, 1, 1, 1);}
47 case 4: { PlayAnimEx(playerid,"CAMERA","picstnd_out",4.0, 0, 1, 1, 1, 1, 1);}
default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /camera [1-4]");
}
return 1;
}
Any help
Код:
C:\Users\Homes\Desktop\Marley\gamemodes\myscript.pwn(44) : error 017: undefined symbol "PlayAnimEx" C:\Users\Homes\Desktop\Marley\gamemodes\myscript.pwn(45) : error 017: undefined symbol "PlayAnimEx" C:\Users\Homes\Desktop\Marley\gamemodes\myscript.pwn(46) : error 017: undefined symbol "PlayAnimEx" C:\Users\Homes\Desktop\Marley\gamemodes\myscript.pwn(47) : error 017: undefined symbol "PlayAnimEx" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
CMD:camera(playerid, params[])
{
switch(strval(params))
{
44 case 1: { PlayAnimEx(playerid,"CAMERA","piccrch_in",4.1, 0, 1, 1, 1, 1, 1);}
45 case 2: { PlayAnimEx(playerid,"CAMERA","picstnd_in",4.0, 0, 1, 1, 1, 1, 1);}
46 case 3: { PlayAnimEx(playerid,"CAMERA","picstnd_take",4.0, 0, 1, 1, 1, 1, 1);}
47 case 4: { PlayAnimEx(playerid,"CAMERA","picstnd_out",4.0, 0, 1, 1, 1, 1, 1);}
default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /camera [1-4]");
}
return 1;
}
Any help