Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*=====================Keapon V 1.0========================*\
- |===================Fait par KonVict92x=====================|
- |===========================================================|
- |===========================================================|
- |===========================================================|
- |===========================================================|
- */
- #include <a_samp>
- #define COLOR_VERT 0x33AA33AA
- #define COLOR_ORANGE 0xE27507FF
- #define COLOR_BLANC 0xF6F6F6F6
- #define GPW GivePlayerWeapon
- #define SCM SendClientMessage
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print("----------Keapon par KonVict92x---------");
- print("-----------------V 1.0-----------------\n");
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/armes", cmdtext, true, 10) == 0)
- {
- SendClientMessage(playerid,COLOR_ORANGE,"=============[ Liste des Armes ]===============");
- SendClientMessage(playerid,COLOR_BLANC,"Couteau, Katana, Grenade, 9mm, 9mms (silencieux)");
- SendClientMessage(playerid,COLOR_BLANC,"Desert Eagle, Fusil a pompe, Fusil de combat, Parachute");
- SendClientMessage(playerid,COLOR_BLANC,"MiniUzi, MP5, AK47, M4, Tec9, Sniper, RPG");
- SendClientMessage(playerid,COLOR_BLANC,"RPGT (Téléguidé), C4 (+detonateur), Minigun, Lance Flamme,");
- return 1;
- }
- if (strcmp("/arme", cmdtext, true, 10) == 0)
- {
- SendClientMessage(playerid,COLOR_ORANGE,"=============[ Liste des Armes ]===============");
- SendClientMessage(playerid,COLOR_BLANC,"Couteau, Katana, Grenade, 9mm, 9mms (silencieux)");
- SendClientMessage(playerid,COLOR_BLANC,"Desert Eagle, Fusil a pompe, Fusil de combat, Parachute");
- SendClientMessage(playerid,COLOR_BLANC,"MiniUzi, MP5, AK47, M4, Tec9, Sniper, RPG");
- SendClientMessage(playerid,COLOR_BLANC,"RPGT (Téléguidé), C4 (+detonateur), Minigun, Lance Flamme,");
- return 1;
- }
- if (strcmp("/couteau", cmdtext, true, 10) == 0)
- {
- GPW(playerid,4,0);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un Couteau");
- return 1;
- }
- if (strcmp("/katana", cmdtext, true, 10) == 0)
- {
- GPW(playerid,8,0);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un Katana");
- return 1;
- }
- if (strcmp("/grenade", cmdtext, true, 10) == 0)
- {
- GPW(playerid,16,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir des Grenades");
- return 1;
- }
- if (strcmp("/9mm", cmdtext, true, 10) == 0)
- {
- GPW(playerid,22,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un 9mm");
- return 1;
- }
- if (strcmp("/9mms", cmdtext, true, 10) == 0)
- {
- GPW(playerid,23,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un 9mm Silencieux");
- return 1;
- }
- if (strcmp("/deserteagle", cmdtext, true, 10) == 0)
- {
- GPW(playerid,24,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un Desert Eagle");
- return 1;
- }
- if (strcmp("/fusilapompe", cmdtext, true, 10) == 0)
- {
- GPW(playerid,25,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un Fusil a Pompe");
- return 1;
- }
- if (strcmp("/fusildecombat", cmdtext, true, 10) == 0)
- {
- GPW(playerid,27,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un Fusil de Combat");
- return 1;
- }
- if (strcmp("/parachute", cmdtext, true, 10) == 0)
- {
- GPW(playerid,46,0);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un Parachute");
- return 1;
- }
- if (strcmp("/miniuzi", cmdtext, true, 10) == 0)
- {
- GPW(playerid,28,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un MiniUzi");
- return 1;
- }
- if (strcmp("/mp5", cmdtext, true, 10) == 0)
- {
- GPW(playerid,29,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir une MP5");
- return 1;
- }
- if (strcmp("/ak47", cmdtext, true, 10) == 0)
- {
- GPW(playerid,30,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un AK47");
- return 1;
- }
- if (strcmp("/m4", cmdtext, true, 10) == 0)
- {
- GPW(playerid,31,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir une M4");
- return 1;
- }
- if (strcmp("/tec9", cmdtext, true, 10) == 0)
- {
- GPW(playerid,32,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un Tec9");
- return 1;
- }
- if (strcmp("/sniper", cmdtext, true, 10) == 0)
- {
- GPW(playerid,34,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un Sniper");
- return 1;
- }
- if (strcmp("/rpg", cmdtext, true, 10) == 0)
- {
- GPW(playerid,35,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un RPG");
- return 1;
- }
- if (strcmp("/rpgt", cmdtext, true, 10) == 0)
- {
- GPW(playerid,36,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un RPG Téléguidé");
- return 1;
- }
- if (strcmp("/lanceflamme", cmdtext, true, 10) == 0)
- {
- GPW(playerid,37,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un Lance Flamme");
- return 1;
- }
- if (strcmp("/minigun", cmdtext, true, 10) == 0)
- {
- GPW(playerid,38,9999);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir un Minigun");
- return 1;
- }
- if (strcmp("/c4", cmdtext, true, 10) == 0)
- {
- GPW(playerid,39,9999);
- GPW(playerid,40,0);
- SCM(playerid,COLOR_VERT,"Vous venez de recevoir du C4 (+detonateur)");
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement