01.10.2013, 14:13
(
Last edited by Nofear192; 15/10/2013 at 04:47 PM.
)
Hello Sa-mp Community
I'm Producing my Gunpack Filter Script which can be Used in Cops 'n' Robbers
Details:
Gunpack3: /gpack3 > 2000 Score to Use it Weapons are in Gunpack3
Swan-Off || Ammo - 100
Chainsaw || Ammo - 9999
Deagle || Ammo - 50
Sniper-Rifle || Ammo - 200
Grenade || Ammo - 16
M4 || Ammo - 300
Paracute || Ammo - 5
Fire Extinguisher || Ammo - 500"
Tec-9 || Ammo - 200
Gunpack2: /gpack2 > 1000 Score to Use it Weapons are in Gunpack2
Pool Cue || Ammo - 9999
Silenced 9mm || Ammo - 250
CombatShoutGun || Ammo - 500
AK-47 || Ammo - 470
Spraycan || Ammo - 500
Gunpack1: /gpack1 > 500 Score to Use it Weapons are in Gunpack1
MP5 || Ammo - 350
Shotgun || Ammo - 250
Knife || Ammo - 9999
Commands:
/gpack1 >500 Score
/gpack2 >1000 Score
/gpack3 >2000 Score
If you want to change Gunpacks Score Do this
I'm Producing my Gunpack Filter Script which can be Used in Cops 'n' Robbers
Details:
Gunpack3: /gpack3 > 2000 Score to Use it Weapons are in Gunpack3
Swan-Off || Ammo - 100
Chainsaw || Ammo - 9999
Deagle || Ammo - 50
Sniper-Rifle || Ammo - 200
Grenade || Ammo - 16
M4 || Ammo - 300
Paracute || Ammo - 5
Fire Extinguisher || Ammo - 500"
Tec-9 || Ammo - 200
Gunpack2: /gpack2 > 1000 Score to Use it Weapons are in Gunpack2
Pool Cue || Ammo - 9999
Silenced 9mm || Ammo - 250
CombatShoutGun || Ammo - 500
AK-47 || Ammo - 470
Spraycan || Ammo - 500
Gunpack1: /gpack1 > 500 Score to Use it Weapons are in Gunpack1
MP5 || Ammo - 350
Shotgun || Ammo - 250
Knife || Ammo - 9999
Commands:
/gpack1 >500 Score
/gpack2 >1000 Score
/gpack3 >2000 Score
If you want to change Gunpacks Score Do this
pawn Code:
if(GetPlayerScore(playerid) < 500) return SendClientMessage(playerid, COLOR_RED, "ERROR:You Don't Have 300 Score To Use /Gpack1");
Then How to Change it
pawn Code:
if(GetPlayerScore(playerid) < Change this to Any Score u want) return SendClientMessage(playerid, COLOR_RED, "ERROR:You Don't Have 300 Score To Use /Gpack1");
if u Changed it an Example:
pawn Code:
if(GetPlayerScore(playerid) < 9999) return SendClientMessage(playerid, COLOR_RED, "ERROR:You Don't Have 300 Score To Use /Gpack1");
Code:
/**************************************** | NoFeAr | | Extreme Weapon system | ****************************************/ #include <a_samp> #include <zcmd> #define COLOR_RED 0xFF0000 #define COLOR_BLACK 0x000000 #define COLOR_GREEN 0x00FF00 public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Extreme Weapon system by NoFeAr loaded "); print("--------------------------------------\n"); return 1; } CMD:gpack3(playerid, params[]) { if(GetPlayerScore(playerid) < 2000) return SendClientMessage(playerid, COLOR_RED, "ERROR:You Don't Have 2000 Score To Use /Gpack3"); GivePlayerWeapon(playerid, 9, 9999); GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(playerid, 26, 100); GivePlayerWeapon(playerid, 32, 200); GivePlayerWeapon(playerid, 31, 300); GivePlayerWeapon(playerid, 34, 200); GivePlayerWeapon(playerid, 46, 5); GivePlayerWeapon(playerid, 42, 500); GivePlayerWeapon(playerid, 16, 10); SendClientMessage(playerid, COLOR_GREEN, "You Have Succesfully Got Gunpack3 Weapon Are:"); SendClientMessage(playerid, COLOR_BLACK, "Swan-Off || Ammo - 100"); SendClientMessage(playerid, COLOR_BLACK, "Chainsaw || Ammo - 9999"); SendClientMessage(playerid, COLOR_BLACK, "Deagle || Ammo - 50 "); SendClientMessage(playerid, COLOR_BLACK, "Sniper-Rifle || Ammo - 200"); SendClientMessage(playerid, COLOR_BLACK, "Grenade || Ammo - 16"); SendClientMessage(playerid, COLOR_BLACK, "M4 || Ammo - 300"); SendClientMessage(playerid, COLOR_BLACK, "Paracute Ammo - 5"); SendClientMessage(playerid, COLOR_BLACK, "Fire Extinguisher || Ammo - 500"); SendClientMessage(playerid, COLOR_BLACK, "Tec-9 || Ammo - 200"); return 1; } CMD:gpack2(playerid, params[]) { if(GetPlayerScore(playerid) < 1000) return SendClientMessage(playerid, COLOR_RED, "ERROR:You Don't Have 550 Score To Use /Gpack2"); GivePlayerWeapon(playerid, 7, 9999); GivePlayerWeapon(playerid, 23, 250); GivePlayerWeapon(playerid, 27, 500); GivePlayerWeapon(playerid, 30, 470); GivePlayerWeapon(playerid, 41, 500); SendClientMessage(playerid, COLOR_GREEN, "You Have Succesfully Used /Gpack2 Weapon Are:"); SendClientMessage(playerid, COLOR_BLACK, "Pool Cue || Ammo - 9999"); SendClientMessage(playerid, COLOR_BLACK, "Silenced 9mm || Ammo - 250"); SendClientMessage(playerid, COLOR_BLACK, "CombatShoutGun || Ammo - 500"); SendClientMessage(playerid, COLOR_BLACK, "AK-47 || Ammo - 470"); SendClientMessage(playerid, COLOR_BLACK, "Spraycan || Ammo - 500"); return 1; } CMD:gpack1(playerid, params[]) { if(GetPlayerScore(playerid) < 500) return SendClientMessage(playerid, COLOR_RED, "ERROR:You Don't Have 300 Score To Use /Gpack1"); GivePlayerWeapon(playerid, 29, 350); GivePlayerWeapon(playerid, 25, 250); GivePlayerWeapon(playerid, 4, 9999); SendClientMessage(playerid, COLOR_GREEN, "You Have Succesfully Used /Gpack1 Weapon Are:"); SendClientMessage(playerid, COLOR_BLACK, "MP5 || Ammo - 350"); SendClientMessage(playerid, COLOR_BLACK, "Shotgun || Ammo - 250"); SendClientMessage(playerid, COLOR_BLACK, "Knife || Ammo - 9999"); return 1; }