3B00DG4MER Posted March 18, 2014 Share Posted March 18, 2014 Hello,Today I made a system which get Radar area Size X and Y i let the money of turf is sum of Size X and Y it's Say's Attempt to call local 'money' Here is Server Side: I delete somethings to protect script local radarareas = getElementsByType ( "radararea" ) -- get a table of radararea elements for k, theArea in ipairs(radarareas) do local sizeX, sizeY = getRadarAreaSize ( theArea ) local money = (tonumber(sizeX)*tonumber(sizeY)) outputChatBox("This turf do not belong to anyone. Wait 2 minutes to capture the turf and win "..money"$", player, 0, 255, 0, false) end end Link to comment
Castillo Posted March 18, 2014 Share Posted March 18, 2014 "..money"$" You forgot to add the dots after "money", like this: ".. money .."$" Link to comment
3B00DG4MER Posted March 18, 2014 Author Share Posted March 18, 2014 "..money"$" You forgot to add the dots after "money", like this: ".. money .."$" Thanks Small Error stop Script completly Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now