Help Animations Dont Work !!! - 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: Help Animations Dont Work !!! (
/showthread.php?tid=497852)
Help Animations Dont Work !!! -
Ahmad45123 - 28.02.2014
Here is The Code :
pawn Код:
ApplyAnimation(playerid, anims[idx][lib], anims[idx][anim], 4.1, 0, 1, 1, 1, 0, 1);
And Its Under :
OnPlayerCommandPerformed
Help ?
Re: Help Animations Dont Work !!! -
Ahmad45123 - 28.02.2014
Please Help,
Re: Help Animations Dont Work !!! -
Ahmad45123 - 28.02.2014
Please, Fuck This
Re: Help Animations Dont Work !!! -
Shoulen - 28.02.2014
Show the full command and elaborate on your question please.
Re: Help Animations Dont Work !!! -
Ahmad45123 - 28.02.2014
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(success)
return 1;
strdel(cmdtext, 0, 1);
for(new idx=1; idx<MAX; idx++)
{
if(anims[idx][exist] == 1)
{
if(!strcmp(anims[idx][command], cmdtext, true))
{
ApplyAnimation(playerid, anims[idx][lib], anims[idx][anim], 4.1, 0, 1, 1, 1, 0, 1);
ApplyAnimation(playerid, anims[idx][lib], anims[idx][anim], 4.1, 0, 1, 1, 1, 0, 1);
SendClientMessage(playerid, COLOR_GREY, "The Animation Has Been Started, Press RMB To Stop It");
return 1;
}
}
}
return 0;
}
Here