Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*===================================================================
- CREDITOS A FUCKER FUSION
- CONTATO PARA SHOWS 93869016 hehe (h'
- POSTADOR: MIQUEIASBARROS
- ACESSE: WWW.HOMEHOTS.NET
- MSN: deusdosamp@hotmail.com
- ======================================================================*/
- #include <a_samp>
- #define FILTERSCRIPT
- #if defined FILTERSCRIPT
- #define fuckercor 0xB8860BAA
- #endif
- //==============================================
- new Contagem[MAX_PLAYERS];
- new Contagem2[MAX_PLAYERS];
- new hospital[MAX_PLAYERS];
- //==============================================
- //======================================
- forward HospitalRegressao(playerid);
- //======================================
- public OnFilterScriptInit()
- {
- print("Creditos: Fucker_FusioN");
- print("Postador: MiqueiasBarros");
- print("Acesse: www.HomeHots.net");
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- hospital[playerid] = 1;
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- if(hospital[playerid] > 0)
- {
- Contagem2[playerid] = SetTimerEx("HospitalRegressao", 1000, 1, "i", playerid);
- Contagem[playerid] = 20;// aqui é a contagem para se recuperar , você pode mudar pela sua vontade mudando no numero 20 para o numero desejado
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid,2782.7371,-2736.4546,-0.0863);
- SetPlayerCameraPos(playerid,1197.5721,-1325.6716,26.9214);
- SetPlayerCameraLookAt(playerid, 1177.6808,-1324.3663,14.0827);
- TogglePlayerControllable(playerid, 0);
- }
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- hospital[playerid] = 0;
- return 1;
- }
- public HospitalRegressao(playerid)
- {
- new string[64];
- format(string, sizeof(string), "~r~Voce sera socorrido em ~n~~g~%d ~r~Segundos ~g~.~y~.~r~.", Contagem[playerid]);
- GameTextForPlayer(playerid, string, 1500, 3);
- hospital[playerid] = 0;
- if(Contagem[playerid] == 0)
- {
- KillTimer(Contagem2[playerid]);
- SpawnPlayer(playerid);
- SetPlayerHealth(playerid, 100.00);
- GivePlayerMoney(playerid, -1000);
- SetCameraBehindPlayer(playerid);
- TogglePlayerControllable(playerid, 1);
- SendClientMessage(playerid, fuckercor,"{FF0101}Você ja ganhou auta. {FFFFFF}Os médicos te cobraram {FF0101}1000$ {FFFFFF}pelo trabalho de salvar sua {FF0101}vida.");
- }
- Contagem[playerid]--;
- }
- /*===================================================================
- CREDITOS A FUCKER FUSION
- CONTATO PARA SHOWS 93869016 hehe (h'
- POSTADOR: MIQUEIASBARROS
- ACESSE: WWW.HOMEHOTS.NET
- MSN: deusdosamp@hotmail.com
- ======================================================================*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement