Jump to content

setElementData


drk

Recommended Posts

Hi ! I'm coding an pointing and money system for my clan server.

I want that code add + 1500$ for player.

The code is:

                        setElementData ( player, "Dinheiro" ) -1500 ) 

It have a error, the symbol - is not recognized. How I can do this ?

Link to comment
Hi ! the script dont appear any error but don't work. :S

You can't just use that code.. I only showed you how to do it but it obviously won't work because when you get the element data and it's non-existent, it will return false...

you can't add a number to false o.O

You need to tweak your own "point system" that you say you have to make it work with this..

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...