28.03.2017, 13:36
PHP код:
CMD:shot(playerid,params[]){
new targetid, Float:x, Float:y, Float: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;
}