AloneZ

Untitled

Jul 24th, 2015
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.88 KB | None | 0 0
  1. forward SairHospital(playerid);
  2. public SairHospital(playerid)
  3. {
  4.     PlayerInfo[playerid][pHosp] = 0;
  5.     PlayerInfo[playerid][pHospTime] = 0;
  6.     ClearAnimations(playerid);
  7.     GivePlayerMoney(playerid, -PRECO_HOSP);
  8.     SBizzInfo[12][sbTill] += PRECO_HOSP;
  9.     ExtortionSBiz(12, PRECO_HOSP);
  10.     CofreOrg[4][Dinheiro] += PRECO_HOSP;
  11.     GastarProdutos(2, 12, 2);
  12.     TextDrawHideForPlayer(playerid, TextPosto[playerid]);
  13.     SetPlayerSpawn(playerid); //Mudar Spawn para hospital
  14.     format(gstring,sizeof(gstring),"[Hospital] Você Está Curado e Recebeu alta, os Médicos Cobraram R$ %d pela Recuperação.", PRECO_HOSP);
  15.     SendClientMessage(playerid,0xFF8080FF,gstring);
  16.     format(strrick, sizeof(strrick), "~n~~n~~n~~r~~h~[[~g~~h~~h~Voce Foi curado com Sucesso~r~~h~[[~b~~h~~h~Pagou: ~w~R$ %d",PRECO_HOSP);
  17.     GameTextForPlayer(playerid, strrick, 6000, 3);
  18.     return 1;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment