document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. //Adicione isso em
  2. //public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  3. //{
  4. if((newkeys == KEY_HORN) && (IsPlayerInAnyVehicle(playerid)))
  5.     {
  6.         if(PlayerToPoint(50,playerid,1212.0999755859,-1337.1999511719,13.39999961853))
  7.         {
  8.         PlayerInfo[playerid][pCrimes] += 1;
  9.         SetPlayerCriminal(playerid, 255, "Buzina em frente ao Hospital");
  10.         }
  11.     }
  12.     if((newkeys == KEY_HORN) && (IsPlayerInAnyVehicle(playerid)))
  13.     {
  14.         if(PlayerToPoint(40,playerid,1212.0999755859,-1337.1999511719,13.39999961853) || IsPlayerInAnyVehicle(playerid))
  15.         {
  16.             for(new i = 0; i < MAX_PLAYERS; i++)
  17.             {
  18.             GameTextForPlayer(i, "~g~Area de Hospital!~n~~r~Silencio!", 1000, 1);
  19.             }
  20.         }
  21.     }
');