Question about PlayerSpawner #51

Question about PlayerSpawner #51

Beitragvon mor2000 » 07.03.2015, 12:23

VAHA022ru commented 3 days ago
Hello mor2000, The fact that everything is fine version 0.9.8 was to teleport the player, but with 0.9.9 does not want to teleport and provides just such an error each time you teleport to any appropriate key Error: Running LUA method 'keyEvent'. C:/Users/ADMIN/Documents/My Games/FarmingSimulator2015/mods//AAA_UniversalProcessKit/UPK_PlayerSpawner.lua:65: attempt to index global 'self' (a nil value)

How can I fix this error?

respectfully VAHA022rus
mor2000
Owner
mor2000 commented 3 days ago
ok, will be fixed. for right now you can replace line 65 in UPK_PlayerSpawner.lua with:
g_client:getServerConnection():sendEvent(PlayerTeleportEvent:new(x, y + 0.5, z))
VAHA022ru

VAHA022ru commented 3 days ago
Thank you very much for such a quick response, you simply brilliant in their work
mor2000
Site Admin
 
Beiträge: 184
Registriert: 14.09.2012, 07:50

Zurück zu Diskussion/ Sonstiges

cron