Advertisement
DerbyProFxPP

Untitled

Apr 27th, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. stock IsPlayerInWater(playerid)
  2. {
  3. new animlib[32], atmp[32];
  4. GetAnimationName(GetPlayerAnimationIndex(playerid), animlib, sizeof(animlib), atmp, sizeof(atmp));
  5. if(!strcmp(animlib, "SWIM") && !IsPlayerInAnyVehicle(playerid)) return 1;
  6. return 0;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement