Help Isplayerinwater
#2

Try

pawn Код:
stock IsPlayerInWater(playerid)
{  
    new index = GetPlayerAnimationIndex(playerid);  
    return ((index >=  1538) && (index <= 1541)) || index == 1544);
//or return ((1538 <= index <= 1541)) || index == 1544);
}
Reply


Messages In This Thread
Help Isplayerinwater - by KesaSport - 05.06.2014, 10:36
Re: Help Isplayerinwater - by Matess - 05.06.2014, 10:48
Re: Help Isplayerinwater - by Konstantinos - 05.06.2014, 10:51
Re: Help Isplayerinwater - by iFiras - 05.06.2014, 10:54
Re: Help Isplayerinwater - by KesaSport - 05.06.2014, 11:08

Forum Jump:


Users browsing this thread: 1 Guest(s)