Jump to content

COLOR BLIP ERROR


Recommended Posts

            Blip vehicleBlip = SuspectVehicle.AttachBlip();
            vehicleBlip.Color = Color.Red;
            vehicleBlip.IsRouteEnabled = true;

Severity Code Description Project Project File Line Status suppressed
Error CS0012 The type ‘Colour’ is defined in an assembly that is not referenced. You must add a reference to the assembly ‘System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’.   

Hello, if someone could please help me to find a solution to my problem.

Link to comment
Share on other sites

  • Community Team

On the top of the file/ class you can add assemblies, there you write:

using System.Color;

 

Creator of MCCallouts 🚓🕵🏽‍♂️
Check out the MCCallouts Discord Server! 💻

If my post helped you, please leave a like 👍🏽 or mark it as "solution"! ✅

Yippee, summer is here! 🍸☀️ 🍀

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...