Update BaseScript.cs

This commit is contained in:
Sardelka9515
2022-07-05 00:16:15 +08:00
committed by GitHub
parent 8e0620bedb
commit f374de2064

View File

@ -48,7 +48,7 @@ namespace RageCoop.Server.Scripting
{ {
foreach (var obj in objects) foreach (var obj in objects)
{ {
API.SendCustomEvent(clients, CustomEvents.ServerBlipSync, obj.ID, (short)obj.Sprite, (byte)obj.Color, obj.Scale,obj.Position,obj.Rotation,obj.Name ); API.SendCustomEvent(clients, CustomEvents.ServerBlipSync, obj.ID, (ushort)obj.Sprite, (byte)obj.Color, obj.Scale,obj.Position,obj.Rotation,obj.Name );
} }
} }
void NativeResponse(CustomEventReceivedArgs e) void NativeResponse(CustomEventReceivedArgs e)