05-14-2017, 04:59 AM
(05-14-2017, 04:45 AM)Seadragon91 Wrote: Change
Player.TeleportToCoords(SpawnX, SpawnY, SpawnZ)
to
Player:TeleportToCoords(SpawnX, SpawnY, SpawnZ)
Has to be a colon :
Waaah.... now i see the different in xoft's post too.....
obj.fn("a") -- calls obj.fn with param "a"
obj:fn("a") -- calls obj.fn with params obj, "a"
I understand... thanksick: