function SpawnPlayer()
local x = 1544.54199
local y = -1375.18652
local z = 330.06909
spawnPlayer(source, x, y, z)
fadeCamera(source, true)
setCameraTarget(source)
outputChatBox("ehab", source)
end
addEventHandler("onPlayerJoin", root, SpawnPlayer)
كان فيه قوس ناقص حق
addEventHandler
بأخر سطر