add wanteds
This commit is contained in:
7
ReallifeGamemode.Client/Gui/wanteds.ts
Normal file
7
ReallifeGamemode.Client/Gui/wanteds.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export default function wanteds(globalData: GlobalData) {
|
||||
var browser = mp.browsers.new("package://assets/html/wanteds/index.html");
|
||||
|
||||
mp.events.add("SERVER:SetWanteds", (count: number) => {
|
||||
browser.execute(`setWanteds(${count});`);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user