Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - innocent

Pages: [1]
1
Add-Ons / Re: Setscale!
« on: January 05, 2013, 11:35:01 PM »
Most Blockland users can't script.. This might help alot of 'em :P

2
Modification Help / Re: Need to find a brick's neighbors
« on: December 17, 2012, 06:12:54 PM »
That's kinda what I'm trying to do Brian :p

3
Modification Help / Re: Need to find a brick's neighbors
« on: December 17, 2012, 05:47:30 PM »
Alright I'll try this ^^

4
Modification Help / Need to find a brick's neighbors
« on: December 16, 2012, 10:12:35 PM »
Subject says it all, in what I want to do, I must make a list of all bricks surrounding (touching it) a specific one(except above and below ones).. How could I do this? Thanks to anyone who post back :D!

5
Modification Help / Re: Retrieving Server-Sided Information
« on: August 21, 2012, 08:15:30 PM »
'Lil exemple of what i learnt by asking the same question 1 month ago:

Server Sided:
server.cs

function serverCmdGetfruits(%client)
Code: [Select]
{
    commandToClient(%client, 'ReceiveData', %client.apple, %client.kiwi);
}

Client Sided:
client.cs

Code: [Select]
function clientCmdReceiveData(%apple, %kiwi)
{
echo("You have "@%apple@" apples and "@%kiwi@" kiwis! ");
}

I know you already have been answered but I just want to make sure :P

6
Get VCE (Link bellow the comment) and event a brick with those:


<0>OnActivate -> Client -> VCE_IfVariable / Score / >= / 50 / 1 4
<1>OnVariableTrue -> Client -> IncScore / -50
<2>OnVariableTrue -> Client -> Chatmessage / "You just bought a (weapon)"
<3>OnVariableTrue -> Player -> AddItem(Or set Item) / "The Item" (/ Slot)
<4>OnVariableFalse -> Client -> Chatmessage / "Your score is too low!"

This is a basic shop easily editable.. Have Fun :D

For more info on VCE: http://forum.blockland.us/index.php?topic=74148.0

7
Modification Help / Re: Retrieve a value from my server(ClientSided)
« on: July 24, 2012, 10:03:22 PM »
Yeah lol I had the idea just before you posted. Thank you tho!! :cookieMonster: :cookie:

8
Modification Help / Retrieve a value from my server(ClientSided)
« on: July 24, 2012, 09:29:41 PM »
Okay so, I am working on a new project with GUIs and I want my GUIs to show specific values from the server...
By this, I mean: For exemple,

the server does: findclientbyname(Inno).bananas=17;
How could I retrieve this value from a client sided addon?

I know it would maybe ask for a serversided command like "function servercmdgetbananas(%client){return %client.bananas;}" But that's about it so... Thanks to anybody who would like to help :D

PS: I dont care if it's a long script!

Pages: [1]