abdullah60 Posted December 14, 2012 Share Posted December 14, 2012 hello. I am writing from Germany. I almost can not speak English so I used a spoke tool (google). I created a map in MTA San Andreas. A map in which you can simply roam free. The start point is set. Now I have set up a server. the server is working and I can use other maps. However, I can not choose my homemade map ... When I click on the menu: host game. and insert my map without anything. then the black picture and nothing comes. However, if I my 2.map in which I have no connect with the 1.map. Then I can not normally play on host game. Where is the Problem? I'll give you time by the data. 1.map (I want to play). 1 = abdullah-2.map 2 = Meta 3 = script -- Settings for when a player joins -- XYZ coördinates local joinX = 2509.1579589844 local joinY = -1666.3774414063 local joinZ = 17.312835693359 -- Weapon and ammo local joinWeapon = 22 local joinAmmo = 200 -- Message when player joins local joinMessage = "Welcome to this server." -- Skin that player gets local joinSkin = 0 -- Settings for when a player dies -- XYZ coördinates local spawnX = 2509.1579589844 local spawnY = -1666.3774414063 local spawnZ = 17.312835693359 -- Weapon and ammo local spawnWeapon = 22 local spawnAmmo = 200 -- Skin that player gets local spawnSkin = 0 -- Settings for the amounts of money -- Money the killer gets local killerMoney = 500 -- Money removed from player when they die local deadPlayerMoney = 500 -- Money you get when you join local joinMoney = 1000 -- Functions -- This function spawns players when they join function spawnOnJoin() spawnPlayer(source, joinX, joinY, joinZ, 0 , joinSkin) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox(joinMessage, source) giveWeapon(source, joinWeapon, joinAmmo) givePlayerMoney(source, joinMoney) end -- This function spawns players after they died function spawnOnDead(ammo, killer, weapon, bodypart) outputChatBox(getPlayerName(source).." died.") takePlayerMoney(source, deadPlayerMoney) if (killer) and (killer ~= source) then givePlayerMoney(killer, killerMoney) end setTimer(spawnPlayer, 3000, 1, source, spawnX, spawnY, spawnZ, 0, spawnSkin) setCameraTarget(source, source) setTimer(giveWeapon, 3000, 1, source, spawnWeapon, spawnAmmo) end -- Event handlers addEventHandler("onPlayerJoin", getRootElement(), spawnOnJoin) addEventHandler("onPlayerWasted", getRootElement(), spawnOnDead) 2. = 2.map (the map where there is nothing) (but with only abdullah-2.map works) 1= abdullah.map 2=Meta I know I have no idea. But please help me with the problem- Link to comment
TwiX! Posted December 14, 2012 Share Posted December 14, 2012 use [lua] [ /lua] code pls Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now