Jump to content

James_max

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by James_max

  1. If any one looks at picture good he will see [info Admin added 402 missing rights] maybe this's the problem? And How i can make my self admin in my server? Sorry For asking alot but iam just starting. C:\Program Files\MTA San Andreas 1.1\server\mods\deathmatch\resources\my_server
  2. function createVehicleForPlayer(thePlayer, command, vehicleModel) local x,y,z = getElementPosition(thePlayer) -- get the position of the player x = x + 5 -- add 5 units to the x position local createdVehicle = createVehicle(tonumber(vehicleModel),x,y,z) if (createdVehicle == false) then outputChatBox("Failed to create vehicle.",thePlayer) end end addCommandHandler("createvehicle", createVehicleForPlayer i want to understand something in this script, what's the local createdVehicle = createVehicle(tonumber(vehicleModel),x,y,z)
  3. function joinHandler() local x = 1959.55 local y = -1714.46 local z = 10 spawnPlayer(source, x, y, z) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox("Welcome to My Server", source) end addEventHandler("onPlayerJoin", getRootElement(), joinHandler) function createVehicleForPlayer ( thePlayer, command, vehicleModel ) local x, y, z = getElementPosition (thePlayer) x = x + 5 if (createdVehicle == true) then outputChatBox ("Sucsess to create Vehicle",thePlayer) if (createdVehicle == false) then outputChatBox("Failed to create vehicle.",thePlayer) end end addCommandHandler ("vec" , createVehicleForPlayer) This's all my script.
  4. Finally i made it i started my server and i entered it correctly but now the problem is how to start a resource and by resource it means the Folder that contain the meta.xml file and script.lua?? or it means another thing, when i type start myserver it say's [Resource could not be found] and when i try to start script.lua it say's the same thing. Thanks...
  5. u mean the acl.xml file i opened it but it's full of script i can't understand anything iam just newbie . I am reinstalling MTA again and i will try.
  6. "James" type="script" name="James Testing Server" description="My Testing Server" />
  7. Hey man thanks for reply but i can't type anything Cuz this message
  8. Thanks For help it works. I've another question!, when i open the MTA server it open correctly but i can't type inside it to start my resources. What's the problem again?....
  9. Hi, Guys, I'm James. I'm new and beginner scripter in MTA. I want you all to know me because, i will need help in the next few hours .I have some problems, first, when i open mta server i see this problem and i don't know how to fix it i make a new folder named by my server and i make new 2text document first one named meta.xml and script.lua and i put the scripts in and open the server but as i said before i have problem like in the picture please someone help me
×
×
  • Create New...