09.11.2014, 07:41
Quote:
Get the player's position (x, y, z)
If z value is less then 1.0, then the player is on water. |
pawn Код:
GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,sizeof(animlib),animname,sizeof(animname));
if(strcmp(animname,"SWIM_ANIM")==0)
{
ur textdraws
}
NOTE: this is just an example on how to do it,,i dont even know the anim name of swimming XD