Search found 552 matches

by rjroldan1
Sat Sep 26, 2020 20:30
Forum: Parks, Sports and Management
Topic: Zoo plug ins packs [new update]
Replies: 11
Views: 9128

Re: Zoo plug ins packs [new update]

Lobby wrote:
Tue Sep 22, 2020 11:05
Why not @rjroldan1 ?
Maybe next time, for now I should be focusing on my online class.
by rjroldan1
Tue Sep 15, 2020 21:04
Forum: Parks, Sports and Management
Topic: Zoo plug ins packs [new update]
Replies: 11
Views: 9128

Re: Zoo plug ins packs [new update]

MsgmSgmsG wrote:
Thu Jul 30, 2020 13:46
Do you have any plans to update this wonderful zoo?
Not sure :(
by rjroldan1
Wed Jul 22, 2020 12:01
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 119
Views: 3281

Re: Lua chatbox

Gonna ask again.

Can i use :
Show
code

Code: Select all

local lpeg = required 'lpeg'
for my plugin?, Sorry i just ask in advance cause I can't play right now my phone always shutdown when i startup my theo donno why :),
by rjroldan1
Wed Jul 22, 2020 11:01
Forum: Commercial
Topic: Grand Stair Casino
Replies: 2
Views: 979

Re: Grand Stair Casino

Bevise wrote:
Sun Jun 28, 2020 14:14
Can I learn how to make a game on my own plugin? I also want to make one. :)
What do you mean?
by rjroldan1
Wed Jul 22, 2020 10:55
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 119
Views: 3281

Re: Lua chatbox

function buildZoneC(zeroX, zeroY, zoneId, radius) zeroX = zeroX - radius zeroY = zeroY - radius local offset = 0 Builder.buildZone(Draft.getDraft(zoneId), zeroX + offset, zeroY) for i=1, (radius * 2 + 1)^2 - 1 do if i % (radius * 2 + 1) == 0 then zeroY = zeroY + 1 offset = 0 else offset = offset + ...
by rjroldan1
Thu Jun 25, 2020 4:35
Forum: Decorations and Tools
Topic: Road Damage Pack
Replies: 1
Views: 358

Re: Road Damage Pack

Love it :)
by rjroldan1
Thu Jun 25, 2020 4:22
Forum: Plug-In Discussion
Topic: Can I detect a building upgrade through Lua?
Replies: 6
Views: 834

Re: Can I detect a building upgrade through Lua?

How would I know the location of the building though? It seems like you'd have to know that for this to work. Also, I need to check this for these upgrades on every frame. Im not sure but try this local draft = Draft.getDraft("Draft") function script:event(x,y,level,event) if event == Script.EVENT_...
by rjroldan1
Thu Jun 25, 2020 4:07
Forum: Lua Scripting
Topic: Drawing basics
Replies: 24
Views: 1143

Re: Drawing basics

Also, how can I avoid issues like this, where the item appears in different areas of the screen when the resolution is different? Is there a way I can detect the screen resolution or orientation Use: local width,height = Drawing.getSize() It will detect the current resolution of the screen Or maybe...
by rjroldan1
Wed Jun 24, 2020 14:40
Forum: Plug-In Discussion
Topic: How can I make a notification recommend a building to a player in Lua?
Replies: 12
Views: 1241

Re: How can I make a notification recommend a building to a player in Lua?

So let's change that then, shall we? image.png The game object I attach the script to is an animation. This is useful since it can hold some frames for us that we will use in the Lua code. There's no need to do it that way :json [ { "id":"$luanotificationstest00", "type":"animation", // Use animati...
by rjroldan1
Wed Jun 24, 2020 14:32
Forum: Resources
Topic: JSON
Replies: 76
Views: 10961

Re: JSON

TheFennekin wrote:
Wed Jun 24, 2020 14:22
Just a thought, is it possible to add capacity liken in schools and hospitals to a prison plugin?

Yes via lua :)
by rjroldan1
Wed Jun 24, 2020 10:56
Forum: Resources
Topic: JSON
Replies: 76
Views: 10961

Re: JSON

Where's the firebrigades?
by rjroldan1
Wed Jun 24, 2020 3:55
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 119
Views: 3281

Re: Lua chatbox

Love it :)
by rjroldan1
Tue Jun 23, 2020 14:54
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 119
Views: 3281

Re: Lua chatbox

Other questions....

Is it really posible to save the value of a variable even the player exits the game?
by rjroldan1
Tue Jun 23, 2020 14:27
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 119
Views: 3281

Re: Lua chatbox

Thanks
by rjroldan1
Tue Jun 23, 2020 4:54
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 119
Views: 3281

Re: Lua chatbox

Anyway how can i make Building only buildable when Region name returns true?
by rjroldan1
Mon Jun 22, 2020 15:02
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 119
Views: 3281

Re: Lua chatbox

Ohh wait @Ølsken what's the role of "local number = 12" there based on my sent script?
by rjroldan1
Mon Jun 22, 2020 14:21
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 119
Views: 3281

Re: Lua chatbox

But thats still need lots of elseif conditions


Ok I get it thanks :)
by rjroldan1
Mon Jun 22, 2020 13:23
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 119
Views: 3281

Re: Lua chatbox

Ølsken wrote:
Mon Jun 22, 2020 12:46
Long? Can you show the code?
Lets go PM
by rjroldan1
Mon Jun 22, 2020 12:20
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 119
Views: 3281

Re: Lua chatbox

Hello again may i ask if this was an issue
IMG_20200622_174421.jpg
IMG_20200622_174421.jpg (10.8 KiB) Viewed 606 times
I used long "if, elseif " conditions and it works fine, I just want to ask if it is still valid even it has error like that ↑?

Go to advanced search