Permalink
Browse files

Added a player favour for [ER]Luka and Toxiccookie.

  • Loading branch information...
xhoogland committed Jan 30, 2017
1 parent e0e01c9 commit ca77785d58deb35d3e87569bab7d730271c73e72
Showing with 21 additions and 1 deletion.
  1. +21 −1 javascript/features/player_favours/player_favours.js
@@ -23,7 +23,7 @@ class PlayerFavours extends Feature {
this.objectRemover_.load('data/favours/russell_house_removals.json');
this.objectGroups_.push(ObjectGroup.create('data/favours/russell_house_objects.json', 0, 0));
// -----------------------------------------------------------------------------------------
// Jasmine (https://forum.sa-mp.nl/thread-33720.html)
@@ -63,6 +63,23 @@ class PlayerFavours extends Feature {
rotation: 270
});
// -----------------------------------------------------------------------------------------
// [ER]Luka (https://sa-mp.nl/players/123358/er-luka.html) and
// ToxicCookie (https://sa-mp.nl/players/119454/toxiccookie.html)
this.lukaAndToxicccokieActors_ = new ScopedEntities();
this.lukaAndToxicccokieActors_.createActor({
modelId: 240,
position: new Vector(-378.03, 2242.15, 46.09),
rotation: 103
});
this.lukaAndToxicccokieActors_.createActor({
modelId: 106,
position: new Vector(-384.11, 2206.16, 45.67),
rotation: 276
});
// -----------------------------------------------------------------------------------------
}
@@ -72,6 +89,9 @@ class PlayerFavours extends Feature {
this.huracanActors_.dispose();
this.huracanActors_ = null;
this.lukaAndToxicccokieActors_.dispose();
this.lukaAndToxicccokieActors_ = null;
for (const objectGroup of this.objectGroups_)
objectGroup.dispose();

1 comment on commit ca77785

@xhoogland

This comment has been minimized.

Show comment
Hide comment
@xhoogland

xhoogland Jan 30, 2017

Contributor

Fixes #447.

Contributor

xhoogland commented on ca77785 Jan 30, 2017

Fixes #447.

Please sign in to comment.