Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <streamer>
- #include<zcmd>
- #define FILTERSCRIPT
- new HEALME[MAX_PLAYERS];
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Simple Heal Me by Joe Vitollo");
- print("--------------------------------------\n");
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- HEALME[playerid] = 0;
- return 1;
- }
- forward reloaded(playerid);
- public reloaded(playerid)
- {
- HEALME[playerid] = 0;
- SendClientMessage(playerid, -1, "Acum poti folosi comanda /healme.");
- return 1;
- }
- CMD:healme(playerid, params[])
- {
- if( HEALME[ playerid ] != 0 ) return SendClientMessage( playerid, -1, "Ai luat recent heal.Asteapta 30 secunde." );
- SetPlayerHealth(playerid, 100);
- SetTimer("reloaded", 30000, 0);
- HEALME[playerid] = 1;
- SendClientMessage(playerid, -1, "Ai luat heal.Poti folosi comanda dupa 30 de secunde.");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement