Fix ServerBlip
This commit is contained in:
parent
f374de2064
commit
a77e0c1fc9
@ -81,8 +81,8 @@ namespace RageCoop.Client.Scripting
|
|||||||
private void ServerBlipSync(CustomEventReceivedArgs obj)
|
private void ServerBlipSync(CustomEventReceivedArgs obj)
|
||||||
{
|
{
|
||||||
int id= (int)obj.Args[0];
|
int id= (int)obj.Args[0];
|
||||||
var sprite=(BlipSprite)obj.Args[1];
|
var sprite=(BlipSprite)(ushort)obj.Args[1];
|
||||||
var color = (BlipColor)obj.Args[2];
|
var color = (BlipColor)(byte)obj.Args[2];
|
||||||
var scale=(float)obj.Args[3];
|
var scale=(float)obj.Args[3];
|
||||||
var pos=(Vector3)obj.Args[4];
|
var pos=(Vector3)obj.Args[4];
|
||||||
int rot= (int)obj.Args[5];
|
int rot= (int)obj.Args[5];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user