03.05.2012, 06:34
pawn Код:
CMD:audio(playerid, params[])
{
new Float:x, Float:y, Float:z,Float:distance = 3.0;
GetPlayerPos(playerid,x,y,z);
if(IsPlayerInRangeOfPoint(playerid,3.0,x,y,z))
PlayAudioStreamForPlayer(playerid,"http://172.16.40.100/audio_files/event.mp3",x,y,z,distance,0);
GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
return 1;
}