12.06.2011, 16:09
(
Последний раз редактировалось justsomeguy; 12.06.2011 в 21:40.
)
Hey i was wondering if it is possible to check if someone is using a certain anim.
Also i would like to know wich anim is the one from freefalling?(like falling from a building)
Anyway, why would i need that well i am trying to make a function called IsPlayerFalling, but for that i need to check the anim for the freefall, if anyone can help that would be realy apreciated!
EDIT:
Oke what could be wrong with this?(besides everything lol:
Because it gives this error:
Also i would like to know wich anim is the one from freefalling?(like falling from a building)
Anyway, why would i need that well i am trying to make a function called IsPlayerFalling, but for that i need to check the anim for the freefall, if anyone can help that would be realy apreciated!
EDIT:
Oke what could be wrong with this?(besides everything lol:
pawn Код:
stock IsPlayerFreeFalling(playerid)
{
if(GetPlayerAnimationIndex(playerid))
{
new animlib[1130];
new animname[1130];
GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,1130,animname,1130);
GivePlayerWeapon(playerid, 46, 1);
}
return 1;
}
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\include\PFN.inc(73) : error 013: no entry point (no public functions) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.