Thread: [Include] Missile Launcher
View Single Post
Old 10/10/2019, 02:57 PM   #29
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,213
Reputation: 352
Default Re: Missile Launcher

Update v2.3.0:

- Renamed functions:
PHP Code:
MissileLaunch -> Missile::Launch
MissileLaunchAimPlayer 
-> Missile::LaunchAimPlayer
MissileStopAimPlayer 
-> Missile::StopAimPlayer
MissileDestroy 
-> Missile::Destroy
MissileRemoteTarget 
-> Missile::RemoteTarget
GetMissileExplodeVisibility 
-> Missile::GetExplodeVisibility
SetMissileExplodeVisibility 
-> Missile::SetExplodeVisibility
DisableAllPlayerMissileAim 
-> Missile::DisableAllAim 
- Added missile missile_object: MISSILE_OBJECT_FLARE_1, MISSILE_OBJECT_FLARE_2, MISSILE_OBJECT_BULLET

- Added definition MISSILE_TYPE_EXPLODE_NONE

If you using MISSILE_OBJECT_BULLET with MISSILE_TYPE_EXPLODE_NONE and custom damage, you got bullet without any explosion but player's/vehicle's take damage

Bullet example:
PHP Code:
Missile::Launch(MISSILE_TYPE_EXPLODE_NONE,1.0,1.0,20.0,Float:x,Float:y,Float:z,worldid,interiorid,playerid,Float:streamdistance,MISSILE_OBJECT_BULLET,Float:tx,Float:ty,Float:tz,byplayerid=INVALID_PLAYER_ID,teamid=ANY_TEAM,.damage=5.0,.vehicle_damage=25.0); 
Video Flares:
https://www.youtube.com/watch?v=qQ1T2NszDkc
AbyssMorgan is offline   Reply With Quote