Thread: [Include] Missile Launcher
View Single Post
Old 28/03/2017, 02:36 PM   #22
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,213
Reputation: 352
Default Re: Missile Launcher

PHP Code:
CMD:shot(playerid,params[]){
    
    new 
targetidFloat:xFloat:yFloat:z;
    if(
sscanf(params,"d",targetid)) return SendClientMessage(playerid,-1,"Use /shot <playerid>");
    
    
GetPlayerPos(playerid,x,y,z);
    
MissileLaunchAimPlayer(targetid,MISSILE_TYPE_EXPLODE_LARGE,5.0,25.0,100.0,x,y,z,GetPlayerVirtualWorld(playerid),GetPlayerInterior(playerid),-1,200.0,MISSILE_OBJECT_HYDRA,x,y,z+100.0,playerid);
    return 
1;

AbyssMorgan is offline   Reply With Quote