Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward SairHospital(playerid);
- public SairHospital(playerid)
- {
- PlayerInfo[playerid][pHosp] = 0;
- PlayerInfo[playerid][pHospTime] = 0;
- ClearAnimations(playerid);
- GivePlayerMoney(playerid, -PRECO_HOSP);
- SBizzInfo[12][sbTill] += PRECO_HOSP;
- ExtortionSBiz(12, PRECO_HOSP);
- CofreOrg[4][Dinheiro] += PRECO_HOSP;
- GastarProdutos(2, 12, 2);
- TextDrawHideForPlayer(playerid, TextPosto[playerid]);
- SetPlayerSpawn(playerid); //Mudar Spawn para hospital
- format(gstring,sizeof(gstring),"[Hospital] Você Está Curado e Recebeu alta, os Médicos Cobraram R$ %d pela Recuperação.", PRECO_HOSP);
- SendClientMessage(playerid,0xFF8080FF,gstring);
- 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);
- GameTextForPlayer(playerid, strrick, 6000, 3);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment