haus blips revive
This commit is contained in:
@@ -8,9 +8,10 @@ namespace ReallifeGamemode.Server.Core.RageMP
|
||||
{
|
||||
class RageBlipAPI : IBlipAPI
|
||||
{
|
||||
public IBlip CreateBlip(uint sprite, Position position, string name, byte color, byte alpha, float scale, float drawDistance, bool shortRange)
|
||||
public IBlip CreateBlip(uint sprite, Position position, string name, byte color, float scale, byte alpha = 255, float drawDistance = 0, bool shortRange = false)
|
||||
{
|
||||
return new RageBlip(NAPI.Blip.CreateBlip(sprite, position.ToVector3(), scale, color, name, alpha, drawDistance, shortRange));
|
||||
var blip = NAPI.Blip.CreateBlip(sprite, position.ToVector3(), scale, color, name, alpha, drawDistance, shortRange);
|
||||
return new RageBlip(blip);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user