Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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;
- }
Advertisement
Add Comment
Please, Sign In to add comment