[HELP] Undercover Police Light Help
#1

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:
Код 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;
}
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 :/
Reply


Messages In This Thread
[HELP] Undercover Police Light Help - by Vlad_Bond - 04.10.2011, 21:28
Re: [HELP] Undercover Police Light Help - by Backwardsman97 - 05.10.2011, 00:12
Re: [HELP] Undercover Police Light Help - by BitlynkNetworks - 05.10.2011, 00:22
Re: [HELP] Undercover Police Light Help - by Vlad_Bond - 05.10.2011, 19:43
Re: [HELP] Undercover Police Light Help - by Vlad_Bond - 05.10.2011, 20:02
Re: [HELP] Undercover Police Light Help - by Backwardsman97 - 05.10.2011, 22:47
Re: [HELP] Undercover Police Light Help - by Jack_Leslie - 06.10.2011, 00:29
Re: [HELP] Undercover Police Light Help - by Vlad_Bond - 06.10.2011, 11:18
Re: [HELP] Undercover Police Light Help - by Vlad_Bond - 07.10.2011, 02:39
Re: [HELP] Undercover Police Light Help - by Da' J' - 25.11.2011, 20:58

Forum Jump:


Users browsing this thread: 1 Guest(s)