SHARE
TWEET

Untitled

a guest Feb 19th, 2020 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ко всем сток
  2. Fish_IsPlayerNearPoint(playerid) {
  3.     for(new i; i < MAX_POINT_SONAR; i ++) {
  4.         if( IsPlayerInDynamicArea(playerid, fish_sonar_area[i]) )
  5.             return 1;
  6.     }
  7.     return 0;
  8. }
  9.  
  10. // в секундный таймер
  11. if( player_fish[playerid][pIsFish ) {
  12.     if( !Fish_IsPlayerNearPoint(playerid) ) {
  13.         player_fish[playerid][pSonar] = 0.0;
  14.         Fish_ShowTextDrawForPlayer(playerid, true);
  15.     }
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top