Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <zcmd>
- #include <sscanf2>
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Blank Filterscript by your name here");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- #endif
- new canveri[MAX_PLAYERS];
- new zaman[MAX_PLAYERS];
- forward Can(playerid);
- public Can(playerid)
- {
- canveri[playerid] = 0;
- return 1;
- }
- CMD:can(playerid, params[])
- {
- if(canveri[playerid] == 1) return SendClientMessage(playerid,-1,"{00FFDD}Hata: {999999}Bu komutu tekrardan kullanabilmek için {00FFDD}30 sn {999999}beklemelisin");
- canveri[playerid] = 1;
- zaman[playerid] = SetTimerEx("CanKomutu", 30000, false, "d", playerid); // 1 sn = 10000
- SetPlayerHealth(playerid, 100);
- SendClientMessage(playerid,-1,"{00FFDD}Bilgi: {999999}Canınızı başarıyla yenilediniz.");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment