How to?
#2

Put in any place out of brackets:

pawn Код:
forward IsPlayerInWater(playerid);
public 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
How to? - by [BFK]MetalHead - 30.01.2012, 13:51
Re: How to? - by CyNiC - 30.01.2012, 14:10
Re: How to? - by [BFK]MetalHead - 30.01.2012, 14:13
Re: How to? - by CyNiC - 30.01.2012, 14:32
Re: How to? - by [BFK]MetalHead - 30.01.2012, 14:35

Forum Jump:


Users browsing this thread: 1 Guest(s)