SupperRobin6394

Untitled

Nov 26th, 2015
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. case 4:
  2. {
  3. if(Siren[VID] == 1)
  4. {
  5. SendClientMessage(playerid, COLOR_RED, "This vehicle already has a siren!");
  6. return 1;
  7. }
  8. Siren[VID] = 1;
  9. if(vehm == 560)
  10. {
  11. SirenObject[VID] = CreateObject(19419, 0.00000, 0.15790, 0.73370, 0.00000, 0.00000, 0.00000);
  12. AttachObjectToVehicle(SirenObject[VID], VID, 0.00000, 0.15790, 0.73370, 0.00000, 0.00000, 0.00000);
  13. SendClientMessage(playerid, UNITED_COLOR, "You placed a Siren on the dashboard of your vehicle.");
  14. }
  15. else if(vehm == 470)
  16. {
  17. SirenObject[VID] = CreateObject(19419, 0.00000, 0.02790, 1.00180, 0.00000, 0.00000, 0.00000);
  18. AttachObjectToVehicle(SirenObject[VID], VID, 0.00000, 0.02790, 1.00180, 0.00000, 0.00000, 0.00000);
  19. SendClientMessage(playerid, UNITED_COLOR, "You placed a Siren on the dashboard of your vehicle.");
  20. }
  21. return 1;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment