Animation help - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Animation help (
/showthread.php?tid=189145)
Animation help -
Hoss - 10.11.2010
Hello people
I wanna make my animation and when i will click on RMB to stop animation
Any people can help me
Fast please
Re: Animation help -
Hoss - 10.11.2010
Guys help me please
Re: Animation help -
WillyP - 10.11.2010
Search?
8char-.-
Re: Animation help -
Hoss - 11.11.2010
I have been searched in Wiki but
KEY_AIM (has to be defined to be used)
132
-
-
Re: Animation help -
Hoss - 11.11.2010
People help me please i need it verry fast
Re: Animation help -
JaTochNietDan - 11.11.2010
Well here's an example for you.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) // Called at any time the SA keys are changed
{
if(newkeys & KEY_AIM) ClearAnimations(playerid); // Player is pressing KEY_AIM (132), clear animations!
return 1;
}
Re: Animation help -
Blatnoi - 11.11.2010
Hello i'm having real strange bug on animations Oo
since this topic is about animations i will ask my question here.
ok..
when i animate any player on my server animation is played only in his client
i mean i can't see the animation from my computer...
any sugestions how to fix this ?
Re: Animation help -
Hoss - 11.11.2010
Quote:
Originally Posted by JaTochNietDan
Well here's an example for you.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) // Called at any time the SA keys are changed { if(newkeys & KEY_AIM) ClearAnimations(playerid); // Player is pressing KEY_AIM (132), clear animations! return 1; }
|
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) // Called at any time the SA keys are changed
{
if(newkeys & KEY_AIM) ClearAnimations(playerid);
{
I have 1 error : error 017: undefined symbol "KEY_AIM"
Help me what i need to do
Re: Animation help -
JaTochNietDan - 11.11.2010
Well KEY_AIM is not defined in your script then, just replace KEY_AIM with 132 or else add
Re: Animation help -
Hoss - 11.11.2010
Quote:
Originally Posted by JaTochNietDan
Well KEY_AIM is not defined in your script then, just replace KEY_AIM with 132 or else add
|
Ok ty u helped me