Jump to content

Send a variable from Server script to client script


Guest FabiONEz

Recommended Posts

I have 2 script for a gamemode, a serverside script and a clientside script.

Can i send a variable defined in the server side script to the client side script?

I will give an example:

Server script

currentround= 0 

Client script

outputChatBox ( "Current round are" .. currentround) 

This don't work.

I also tried with a function setElementData / getElementData, but nothing.

Sorry for my bad english :)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...