public static bool AssignUID(this GTANetworkAPI.Entity entity, long uid) { if (entity.HasSharedData("UID")) { return(false); } entity.SetSharedData("UID", uid); return(true); }
public static bool SetValue(this GTANetworkAPI.Entity entity, string strKey, object value) { entity.SetSharedData(strKey, value); return(true); }