Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // DM Pack - 3 in One By SimpalK
- // Created From Scratch
- // Thanks for Using :)
- #include <a_samp>
- #include <zcmd>
- #define COLOR_RED 0xAA3333AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define ranks 1
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" DM Pack - 3 in One By SimpalK Loaded ");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- print("\n--------------------------------------");
- print(" DM Pack - 3 in One By SimpalK Unloaded");
- print("--------------------------------------\n");
- return 1;
- }
- /////////////////////////////////////////////////////////////////////////Rank System
- CMD:myrank(playerid, params[])
- {
- if (GetPlayerScore(playerid) >= 0 && GetPlayerScore(playerid) < 10)
- {
- SendClientMessage(playerid, COLOR_YELLOW,"Your Rank is : Shooter.");
- }
- if (GetPlayerScore(playerid) >= 10 && GetPlayerScore(playerid) < 20)
- {
- SendClientMessage(playerid, COLOR_YELLOW,"Your Rank is : Newbie Shooter.");
- }
- if (GetPlayerScore(playerid) >= 20 && GetPlayerScore(playerid) < 30)
- {
- SendClientMessage(playerid, COLOR_YELLOW,"Your Rank is : Trainee Shooter.");
- }
- if (GetPlayerScore(playerid) >= 30 && GetPlayerScore(playerid) < 50)
- {
- SendClientMessage(playerid, COLOR_YELLOW,"Your Rank is : Advanced Shooter.");
- }
- if (GetPlayerScore(playerid) >= 50 && GetPlayerScore(playerid) < 100)
- {
- SendClientMessage(playerid, COLOR_YELLOW,"Your Rank is : Intermediate Shooter.");
- }
- if (GetPlayerScore(playerid) >= 100 && GetPlayerScore(playerid) < 200)
- {
- SendClientMessage(playerid, COLOR_YELLOW,"Your Rank is : Deadly Shooter.");
- }
- if (GetPlayerScore(playerid) >= 200 && GetPlayerScore(playerid) < 300)
- {
- SendClientMessage(playerid, COLOR_YELLOW,"Your Rank is : Spy Shooter.");
- }
- if (GetPlayerScore(playerid) >= 300 && GetPlayerScore(playerid) < 500)
- {
- SendClientMessage(playerid, COLOR_YELLOW,"Your Rank is : Expert Shooter.");
- }
- if (GetPlayerScore(playerid) >= 500)
- {
- SendClientMessage(playerid, COLOR_YELLOW,"Your Rank is : God Father.");
- }
- return 1;
- }
- CMD:ranks(playerid, params[])
- {
- ShowPlayerDialog(playerid, ranks, DIALOG_STYLE_MSGBOX,"{FF00FF}Ranks","Shooter : 0 - 10\nNewbie Shooter : 10 - 20\nTrainee Shooter : 20 - 30\nAdvanced Shooter : 30 - 50\nIntermediate Shooter : 50 - 100\nDeadly Shooter : 100 - 200\nSpy Shooter : 200 - 300\nExpert Shooter : 300 - 500\nGod Father : 500 +","Close","");
- return 1;
- }
- /////////////////////////////////////////////////////////////////////// SpawnKill System
- forward SpawnKillProtection(playerid);
- public OnPlayerSpawn(playerid)
- {
- SetPlayerHealth(playerid, 99999.0);
- SetTimerEx("SpawnKillProtection", 10000, false, "i", playerid);
- SendClientMessage(playerid, COLOR_YELLOW, "Anti-Spawn Kill : You are Under Spawn Kill Protection For 10 Seconds.");
- return 1;
- }
- public SpawnKillProtection(playerid)
- {
- SetPlayerHealth(playerid, 100.0);
- SendClientMessage(playerid, COLOR_RED, "Anti-Spawn Kill : Your Spawn Kill Protection Has Ended.");
- return 1;
- }
- /////////////////////////////////////////////////////////////////////////Laser System
- CMD:putlaser(playerid, prams[])
- {
- SetPlayerAttachedObject(playerid,3 , 18643, 6, 0.158249, 0.010233, 0.128052, 6.868255, 351.962524, 356.884216);
- SendClientMessage(playerid, COLOR_YELLOW,"Laser On");
- return 1;
- }
- CMD:removelaser(playerid, params[])
- {
- RemovePlayerAttachedObject(playerid, 0);
- SendClientMessage(playerid, COLOR_RED,"Laser Off.");
- return 1;
- }
- //////////////////////////////////////////////////////////////////// Thanks For Using.....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement