Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //-These pickps was made by Larsey123!!!
- //-Do NOT delete the credits!!!
- #include <a_samp>
- #define FILTERSCRIPT
- #define COLOR_ORANGERED 0xFF4500AA
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_CRIMSON 0xDC143CAA
- #pragma tabsize 0
- //Pickup's
- new HealthPickup, ArmourPickup, DeaglePickup, M4Pickup;
- public OnFilterScriptInit()
- {
- print("\n-----------------------------------------");
- print(" Pickups By Larsey123");
- print("-------------------------------------------\n");
- //Pickup
- HealthPickup = CreatePickup(1240, 23, 208.0983,1858.2010,13.1406); //Health
- ArmourPickup = CreatePickup(1242, 23, 205.7993,1858.1449,13.1406); //Armour
- DeaglePickup = CreatePickup(348, 23, 204.5084,1858.2059,13.1406); //Desert Eagle
- M4Pickup = CreatePickup(356, 23, 202.5355,1858.1516,13.1406); //My Assault Rifle
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- //Health~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- if( pickupid == HealthPickup){
- SetPlayerHealth(playerid, 100);
- SendClientMessage(playerid,COLOR_ORANGERED,"You picked up Health!");
- }
- //Armour~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- if( pickupid == ArmourPickup){
- SetPlayerArmour(playerid, 100);
- SendClientMessage(playerid,COLOR_GREY,"You picked up Armour!");
- }
- //Desert Eagle~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- if( pickupid == DeaglePickup){
- GivePlayerWeapon(playerid, 24, 99999);
- SendClientMessage(playerid,COLOR_CRIMSON,"You picked up an Desert Eagle!");
- }
- //M4 Assault Rifle~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- if( pickupid == M4Pickup)
- GivePlayerWeapon(playerid, 31, 99999);
- SendClientMessage(playerid,COLOR_CRIMSON,"You picked up an M4 Assault Rifle!");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement