Example resources: freeroam, tdm, internet radio

Discussion and help related to creating JavaScript extensions for Bully MP.
P3ti
Site Admin
Posts: 12
Joined: Sun Apr 26, 2015 6:04 pm

Example resources: freeroam, tdm, internet radio

Postby P3ti » Tue May 17, 2016 6:27 am

Hey!

I've decided to release a few resources made for the mod by us, to give you some examples how scripting works in Bully MP.
We took some concepts from Multi Theft Auto and nanos Team (GTA-MP authors) for our scripting system.
To begin with, each extension is a resource, which is a collection of files and a meta file which describes how to load them.
Every resource needs to have a server-side boot script, which should contain initialization code, load the other scripts.
You can make client-side scripts too, they work mostly the same way, but there are some differences.
There are internal JavaScript classes, global objects which are exclusive to client or server side.
An example is the global object which contains rendering functions for the client, it's only available for client scripts.
Keep in mind, all these things are subject to change, because the scripting API is still under development.
When it will reach it's final stage, we will start documenting everything on our wiki.

Until that, here are some early examples. :)

Freeroam: http://bully-mp.com/dl/resources/freeroam.rar
TDM: http://bully-mp.com/dl/resources/tdm.rar
Internet radio: http://bully-mp.com/dl/resources/iradio.rar

User avatar
SalwadoR
Posts: 18
Joined: Thu Jul 02, 2015 3:27 pm

Re: Example resources: freeroam, tdm, internet radio

Postby SalwadoR » Tue May 17, 2016 7:00 am

i can't not comment it. perfect :3
I from Russia, sorry for my bad English. :roll:

User avatar
Ahmed Ly
Posts: 19
Joined: Fri Jan 01, 2016 8:29 pm
Location: Libya - ليبيا
Contact:

Re: Example resources: freeroam, tdm, internet radio

Postby Ahmed Ly » Tue May 17, 2016 8:51 am

Thank you

8-)

User avatar
kaan7ee11
Posts: 6
Joined: Sun Sep 27, 2015 5:35 pm
Location: Saudi Arabia
Contact:

Re: Example resources: freeroam, tdm, internet radio

Postby kaan7ee11 » Fri May 20, 2016 8:13 pm

nice im so excited for bully mp

User avatar
MrTeddy
Posts: 1
Joined: Sat May 21, 2016 2:27 pm

Re: Example resources: freeroam, tdm, internet radio

Postby MrTeddy » Sat May 21, 2016 2:30 pm

Thanks for this, JavaScript is an amazing choice. I am apart of a community which focuses on roleplay servers mostly in the GTA universe, I will begin using what I see here to begin crafting somewhat of a foundation for a roleplay server. :D

User avatar
Dean Winchester
Posts: 13
Joined: Fri May 20, 2016 10:35 pm
Location: Brazil
Contact:

Re: Example resources: freeroam, tdm, internet radio

Postby Dean Winchester » Sat May 21, 2016 5:21 pm

MrTeddy wrote:Thanks for this, JavaScript is an amazing choice. I am apart of a community which focuses on roleplay servers mostly in the GTA universe, I will begin using what I see here to begin crafting somewhat of a foundation for a roleplay server. :D



Already the paragraph Play ? , Type with EU THAT script creates my server ? NOT YET OR .
|Portuguese|
Olá, meu nome é Luiz, e curto bully desde pequeno. Sempre esperei por esse mod, no caso o multiplayer, e estou fazendo o máximo para que possa ajudar!, seja na divulgação, ou até mesmo em vídeos.
BOA SORTE EQUIPE!!!.

User avatar
Carver
Posts: 1
Joined: Fri Nov 20, 2015 2:38 am

Re: Example resources: freeroam, tdm, internet radio

Postby Carver » Mon May 23, 2016 2:26 am

I'm waiting for TDM & RP!

dex35
Posts: 2
Joined: Mon May 23, 2016 7:40 am

Re: Example resources: freeroam, tdm, internet radio

Postby dex35 » Tue May 24, 2016 8:29 am

hi, where can i find documentation?

User avatar
Ahmed Ly
Posts: 19
Joined: Fri Jan 01, 2016 8:29 pm
Location: Libya - ليبيا
Contact:

Re: Example resources: freeroam, tdm, internet radio

Postby Ahmed Ly » Tue May 24, 2016 10:24 am


dex35
Posts: 2
Joined: Mon May 23, 2016 7:40 am

Re: Example resources: freeroam, tdm, internet radio

Postby dex35 » Wed May 25, 2016 6:32 am

Ahmed Ly wrote:
dex35 wrote:hi, where can i find documentation?

Freeroam: http://bully-mp.com/dl/resources/freeroam.rar
TDM: http://bully-mp.com/dl/resources/tdm.rar
Internet radio: http://bully-mp.com/dl/resources/iradio.rar


This is not a documentation, this is examples.
I mean API.


kuchnie katowice częstochowa sosnowiec gliwice zabrze bytom ruda śląska tychy dąbrowa górnicza chorzów mysłowice siemianowice śląskie żory

Return to “Scripting help”

Who is online

Users browsing this forum: No registered users and 2 guests

Powered by phpBB® Forum Software © phpBB Limited
 

 

cron