Jump to content

[Solved] getElementData problem


Shuubaru

Recommended Posts

Posted (edited)

Hi, did this code for a custom box pickup, this is created for a death player. This all works fine.

coded deleted to prevent steal 

I don't have any problem with the whole script except one thing. I stored the playername on the first function (the creator of the colshape), but when I try to retrieve it using "getElementData (sphere, "creatorName")" I get this error at line 32:

"Bad argument @ 'getElementData' [Expected element at argument 1]" 

How can I fix it? is there another way of get the creator name?

Edit: fixed, read comment below.

Edited by Guest

560x95_FFFFFF_FF9900_000000_000000.png

Incognito Gaming - Multi gamemode [Shooter/Race/DM/OS/DD/Hunter]:
- PVP System.
- Kill detection system.
- Youtube music system.
- Garage
- Map cache.
-And more...

Posted

I found the error, I was destroying the element before to get it on the outputChatBox. Really stupid xD

560x95_FFFFFF_FF9900_000000_000000.png

Incognito Gaming - Multi gamemode [Shooter/Race/DM/OS/DD/Hunter]:
- PVP System.
- Kill detection system.
- Youtube music system.
- Garage
- Map cache.
-And more...

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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