does a handstand -> tab button - 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: does a handstand -> tab button (
/showthread.php?tid=99283)
does a handstand -> tab button -
rayne - 26.09.2009
Hi!
does a handstand the character --> tab button
how?
this tab the sign of a button:
|<-
->|
thanks
Re: does a handstand -> tab button -
Nero_3D - 26.09.2009
You need ApplyAnimation for playing the animation of a handstand and the OnPlayerKeyStateChange for knowing when the player pressed tab (should be KEY_ACTION)
if you dont know how to use ApplyAnimation or the public OnPlayerKeyStateChange visit the wiki ->
wiki.sa-mp.com
Re: does a handstand -> tab button -
rayne - 26.09.2009
which one are animation?
Re: does a handstand -> tab button -
CJ101 - 26.09.2009
https://sampwiki.blast.hk/wiki/Animations
Re: does a handstand -> tab button -
rayne - 26.09.2009
thanks!
but which one??
Re: does a handstand -> tab button -
brett7 - 26.09.2009
thats your job to find it
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (!IsPlayerInAnyVehicle(playerid))
{
if (newkeys & KEY_FIRE)
{
ApplyAnimation...
return 1;
}
}
return 1;
}
Re: does a handstand -> tab button -
rayne - 26.09.2009
too much the error
i don't know which animation
Re: does a handstand -> tab button -
Djiango - 26.09.2009
https://sampwiki.blast.hk/wiki/Animations#DAM_JUMP
I believe it's the first one, in this category.
Re: does a handstand -> tab button -
rayne - 26.09.2009
Quote:
Originally Posted by |∞|-Рцппσĵσ-|∞|
|
I try it with him
it is necessary to repair errors
Re: does a handstand -> tab button -
rayne - 26.09.2009
"invalid function or declaration"
help! :P

please let somebody write an example

but onto this example!
I feel old to this.....

:P