it is possible
#3

Meh, I found this in Useful functions when I did a search:

pawn Код:
stock IsPlayerInWater(playerid)
{
    new animlib[32],tmp[32];
    GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,32,tmp,32);
    if( !strcmp(animlib, "SWIM") && !IsPlayerInAnyVehicle(playerid) ) return true;
    return false;
}
Reply


Messages In This Thread
it is possible - by Rafa - 23.07.2011, 22:13
Re: it is possible - by Fj0rtizFredde - 23.07.2011, 22:15
Re: it is possible - by iPLEOMAX - 23.07.2011, 22:16
Re: it is possible - by Rafa - 23.07.2011, 22:19
Re: it is possible - by iPLEOMAX - 23.07.2011, 22:24
Re: it is possible - by Rafa - 23.07.2011, 22:28
Re: it is possible - by iPLEOMAX - 23.07.2011, 22:29
Re: it is possible - by jameskmonger - 23.07.2011, 22:31
Re: it is possible - by Rafa - 23.07.2011, 22:32
Re: it is possible - by jameskmonger - 23.07.2011, 22:36

Forum Jump:


Users browsing this thread: 2 Guest(s)