Advertisement
Guest User

Onplayerupdate

a guest
Aug 21st, 2015
290
0
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.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement