This is a test forum with a static import from forum.open.mp it will not be automatically synchronised so any posts you make here will be lost when we migrate fully.

Home
Search
New thread

Discussion

Discussion categories

General
Chat
Tech
Life
Art
Programming
open.mp
Development Updates
Questions and Suggestions
SA-MP
General Discussions
Videos and Screenshots
Support
Pawn Scripting
Tutorials
Releases
Plugins
Libraries
Filterscripts
Gamemodes
Maps
Advertisements
Other languages
Spanish/Espa?ol
Programaci?n
Discusi?n GTA SA Multijugador
Mods
Offtopic
Juegos
Portuguese/Portugu?s
Russian/русский
Italian/Italiano
Dutch/Nederlands
German/Deutsch
Romanian/Rom?na
Ex-Yu
Polish/Polski
Og?lne
Serwery
Skryptowanie
Filmiki i zdjecia
Lithuanian/Lietuvi?kas
French/Fran?ais
Hungarian/Magyar
Hindi/Urdu
Turkish
Other
Internal
Hidden

Library

Library pages

Collections
Links
Members
Roles
RegisterLogin
Login
Discussion
Libraries
ExtendedGrenade
abyssmorgan's avatar

AbyssMorgan

@abyssmorgan


View profile
Copy link
  Report member
• 5y
Libraries

ExtendedGrenade

library

Hello, I would like to present you the Extended Granade.



Video:

https://www.youtube.com/watch?v=wlFEwpE0j7k



Functions:



Grenade::IsWeaponEnable(playerid,special_weaponid);

Grenade::WeaponEnable(playerid,special_weaponid,bool:enable);

Grenade::GetSpecialAmmo(playerid,special_weaponid);

Grenade::SetSpecialAmmo(playerid,special_weaponid,ammo);

Grenade::GetEffectID(playerid,special_weaponid);

Grenade::SetEffectID(playerid,special_weaponid,effectid);

Grenade::GetDamage(playerid,special_weaponid);

Grenade::SetDamage(playerid,special_weaponid,Float:damage);

Grenade::GetVehicleDamage(playerid,special_weaponid);

Grenade::SetVehicleDamage(playerid,special_weaponid,Float:damage);

Grenade::GetTime(playerid,special_weaponid);

Grenade::SetTime(playerid,special_weaponid,seconds);

Grenade::IsToggleGasMask(playerid);

Grenade::ToggleGasMask(playerid,bool:toggle);

Grenade::GetSpecialWeaponID(weaponid);

Grenade::GrenadeEffectByPlayer(playerid,special_weaponid,Float:x,Float:y,Float:z);

Grenade::CreateGrenadeEffect(special_weaponid,effectid,Float:x,Float:y,Float:z,worldid,interiorid,playerid,Float:streamdistance,Float:damage,Float:veh_damage,active_time=25,byplayerid=INVALID_PLAYER_ID);

Grenade::DestroyEffect(mobid);





Definitions:



MAX_GRENADE_EFFECT



GRENADE_DOT_TEAR_GAS

GRENADE_DOT_FIRE



GRENADE_EFFECT_TIME



GRENADE_DEFAULT_PLAYER_DAMAGE

GRENADE_DEFAULT_VEHICLE_DAMAGE



INVALID_GRENADE_ID



//death reason

WEAPON_SUFFOCATION

WEAPON_NAPALM



GRENADE_MAX_SPECIAL_WEAPON



GRENADE_SPECIAL_WEAPON_NONE

GRENADE_SPECIAL_WEAPON_GRENADE

GRENADE_SPECIAL_WEAPON_TEARGAS

GRENADE_SPECIAL_WEAPON_MOLTOV



GRENADE_EFFECT_NONE



GRENADE_EFFECT_CLUSTER_BOMB_1

GRENADE_EFFECT_CLUSTER_BOMB_2

GRENADE_EFFECT_CLUSTER_BOMB_3

GRENADE_EFFECT_CLUSTER_BOMB_4

GRENADE_EFFECT_BANG_GRENADE



GRENADE_EFFECT_SMALL_SMOKE

GRENADE_EFFECT_HUGE_SMOKE_1

GRENADE_EFFECT_HUGE_SMOKE_2

GRENADE_EFFECT_HUGE_SMOKE_3



GRENADE_EFFECT_NAPALM





Download:

ExtendedGrenade.inc

3DTryg.inc

ColAndreas Plugin

0 likes0 replies

    Please sign up or log in to reply