SHARE
TWEET

Onplayerupdate

a guest Aug 21st, 2015 218 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     for(new i = 0; i < MAX_CADAVERI; i++)
  2.     {
  3.         if(IsPlayerInRangeOfPoint(playerid, 5.0, Cadavere[i][CadX], Cadavere[i][CadY], Cadavere[i][CadZ]))
  4.         {
  5.             if(StopMessage[playerid] == 0 )
  6.             {
  7.                 PlayerTextDrawSetString(playerid, InfoBox[playerid], "Premi C per esaminare il cadavere");
  8.                 PlayerTextDrawShow(playerid, InfoBox[playerid]);
  9.                     //SendClientMessage(playerid, COLORE_VERDE, "DEBUG: MADONNA CARA");
  10.                 StopMessage[playerid] = 1;
  11.             }
  12.             else
  13.             {
  14.                 PlayerTextDrawHide(playerid, InfoBox[playerid]);
  15.                 StopMessage[playerid] = 0;            
  16.             }
  17.         }        
  18.     }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top