no.....
I just want to know why doesn't MTA create a button for closing forums,
because there are multiple forums that are closed but it's still on as unread.
I just notice I messed up
local x = POSITION OF PLAYER
local y = POSITION OF PLAYER
local z = POSITION OF PLAYER
addEventHandler ( "onPlayerJoin",getRootElement(),
function()
spawnPlayer (client, x, y, z, 0, math.random (0,288), 0, 0)
end)
How do you create a file and save the player position?
here is my script:
local playerSource = getLocalPlayer ()
local RootNode = xmlCreateFile("positions.xml"," newroot")
local NewNode = xmlCreateChild(RootNode, "newchild")
addCommandHandler ( "save",
function()
if ( playerSource ) then
local x, y, z = getElementPosition ( playerSource )
xmlSaveFile(RootNode)
end
end)
Peacemaker, Did you ever tried the Left4Dead Server?
If you didn't, TRY IT NOW!!!.
If you did, then let me ask you something, CAN U MAKE A BETTER SERVER?