Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: zepsułem.
1. Skrypt na TP - Chyba coś zepsułem.
A wi?c mam kod na tp i chc? by teleportowa?o w te kordy co tam da?em lecz nie teleportuje po wpisaniu komendy.


function teleport (thePlayer)
local accountName=getAccountName(getPlayerAccount(thePlayer))
if 
isObjectInACLGroup("user."..accountNameaclGetGroup("Admin")) then
setElementInterior 
(thePlayer,0)
setElementDimension (thePlayer,0)
setElementPosition (thePlayer ,1929.9, -2061.899916.4  )
outputChatBox("[Teleport] Pomy?lnie przeteleportowa?e? si? w dane miejsce.",thePlayer255255255true)
end
end
addCommandHandler 
("psp",teleport)



<meta>
<
script type="server" src="tp.lua"/>
</
meta>


DB3:

WARNING: Script 'tptp.lua' is not encoded in UTF-8. Loading as ANSI...

Prosi? bym o poprawny kod ;/