04.10.2011, 21:28
(
Последний раз редактировалось Vlad_Bond; 05.10.2011 в 19:52.
)
Hi! I created this script and I need help. When I type /undercover, I want a vehicle (Cheetah) to pop up with a siren. I did that. And this is where I need help: I want player to press 'H' key and so the beams like from police rotate around the siren. PLEASE HELP!!! BTW. Here is my script:
EDIT: When I Do This Command In Water, Underwater The beams Work, But On The Ground They Don't...
How do I make it have police siren without user downloading audio plugin :/
Код HTML:
new VehicleObject[1]; COMMAND:vehicle(playerid, cmdtext[]) { new veh, Float:Pos[4]; GetPlayerPos(playerid, Float:Pos[0], Float:Pos[1], Float:Pos[2]); GetPlayerFacingAngle(playerid, Float:Pos[3]); VehicleObject[0] = CreateObject(18646, 0.0001, 0.0200, -16.0000, 0, 0, 0); veh = CreateVehicle(415, Float:Pos[0], Float:Pos[1], Float:Pos[2], Float:Pos[3], -1, -1, 50000); AttachObjectToVehicle(VehicleObject[0], veh, -0.34, -0.17, 0.64, -2.00, 0.00, 4.00); PutPlayerInVehicle(playerid, veh, 0); SendClientMessage(playerid, 0xFFFFFF, "You went Undercover."); return 1; }
How do I make it have police siren without user downloading audio plugin :/