Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 4:
- {
- if(Siren[VID] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "This vehicle already has a siren!");
- return 1;
- }
- Siren[VID] = 1;
- if(vehm == 560)
- {
- SirenObject[VID] = CreateObject(19419, 0.00000, 0.15790, 0.73370, 0.00000, 0.00000, 0.00000);
- AttachObjectToVehicle(SirenObject[VID], VID, 0.00000, 0.15790, 0.73370, 0.00000, 0.00000, 0.00000);
- SendClientMessage(playerid, UNITED_COLOR, "You placed a Siren on the dashboard of your vehicle.");
- }
- else if(vehm == 470)
- {
- SirenObject[VID] = CreateObject(19419, 0.00000, 0.02790, 1.00180, 0.00000, 0.00000, 0.00000);
- AttachObjectToVehicle(SirenObject[VID], VID, 0.00000, 0.02790, 1.00180, 0.00000, 0.00000, 0.00000);
- SendClientMessage(playerid, UNITED_COLOR, "You placed a Siren on the dashboard of your vehicle.");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment