-
Posts
4,961 -
Joined
-
Last visited
Everything posted by Jaysds1
-
Ya, it's Serverffs. Wait until tomorrow, If you still can't connect to any other servers than Serverffs then it might be your Internet, because you have to have atleast 1mbps for download.
-
hmmm, Well, can you run a speed test please: http://www.speedtest.net , then post the URL to your Result.
-
Sorry, but I don't know if it's your speed or the File, Is this your server?
-
are you using the Freeroam resource?
-
ok, delete editor_dump and/or editor_test, after when your finish, go on your Map Editor and load your map.
-
oh, ya, I forgot about that
-
Did you even look at the functions ?
-
Yup, , Have a good day and enjoy your server
-
true, nevermind that post then everyone
-
hmmm, that is weird.
-
Sorry, I found my mistake I edited the code again
-
try this: createBlip ( 1552.4996337891, -1677.3264160156, 15.1953125, 30 ) function createSAPDTeam () SAPDteam = createTeam ("police", 100, 149, 237) end addEventHandler ("onResourceStart", resourceRoot, createSAPDTeam) function joinSAPD() setPlayerTeam(client,SAPDteam) setElementModel(client, 280) giveWeapon ( client, 3 ) setAccountData( getPlayerAccount(client), "Occupation", "police") outputChatBox("You are now policeman.",client,0,255,0) end addEvent("setSAPD", true) addEventHandler("setSAPD",root,joinSAPD) function policeJob ( attacker, attackerweapon, bodypart, loss ) theTeam = getPlayerTeam ( attacker ) theWL = getPlayerWantedLevel ( source ) theSkin = getElementModel ( attacker ) if (attackerweapon == 3) and (loss > 2 ) and (theWL > 0) then if getTeamName( theTeam ) == "police" or"SWAT"or"FBI" then setElementPosition (source, 4076.3999023438, -1788.5, 3.511967) theName = getPlayerName ( source ) theCop = getPlayerName ( attacker ) outputChatBox ( "You have been jailed by "..theCop.. " for 10 seconds.", source ) local playeraccount = getPlayerAccount ( attacker ) arrests = getAccountData(playeraccount, "arrest") setAccountData(playeraccount, "arrest", arrests + 1 ) givePlayerMoney (attacker, 100) setTimer ( setElementPosition, 10000, 1, source, 1544.4332275391, -1674.7698974609, 13.688399200439) setPlayerWantedLevel (source, 0) end end end addEventHandler ("onPlayerDamage", getRootElement(), policeJob)
-
ok, PM me your User and Pass.
-
nah, you could put your resources on a webhosting like 000Webhosting.com or webs.com .
-
hmmm, try this port Forward tool: http://portforward.com/help/portcheck.htm
-
ok, I tried something else, here: function createVehicleCommand ( thePlayer, _, carName ) local x, y, z = getElementPosition ( thePlayer ) local carModel = getVehicleModelFromName(carName) local carName = getVehicleNameFromModel(tonumber(carName)) if carModel then createVehicle(carModel, x+5, y, z) outputChatBox("Your " .. getVehicleNameFromModel(carModel) .. " (#" .. carModel .. ") was spawned with an ID of " .. vehicles.id, thePlayer, 0, 255, 0) elseif carName then local carM = getVehicleModelFromName(carName) createVehicle(carM, x+5, y, z) outputChatBox("Your " .. carName .. " (#" .. carM .. ") was spawned with and ID of " .. vehicles.id, thePlayer, 0, 255, 0) else outputChatBox("That is not a valid car name/model",thePlayer) end end addCommandHandler("v", createVehicleCommand)
-
hmmm, did you disabled windows Firewall ?
-
Just a simple calc.
-
try this: function createVehicleCommand ( thePlayer, commandName, carName ) local x, y, z = getElementPosition ( thePlayer ) if (type(tonumber(carName)) == "number") then if tonumber(carName) > 400 and tonumber(carName) < 611 then outputChatBox("Invalid Vehicle", player, 255, 0, 0) else local carM = getVehicleNameFromModel(carName) createVehicle(carName, x+5, y, z) outputChatBox("Your " .. carM .. " (#" .. carName .. ") was spawned with an ID of " .. vehicles.id, player, 0, 255, 0) vehicles.id = vehicles.id+1 end else local carModel = getVehicleModelFromName(carName) if not carModel then outputChatBox("That is not a valid car name") else createVehicle(carModel, x+5, y, z) outputChatBox("Your " .. getVehicleName(carModel) .. " (#" .. carModel .. ") was spawned with and ID of " .. vehicles.id, player, 0, 255, 0) vehicles.id = vehicles.id+1 end end end addCommandHandler("v", createVehicleCommand)
-
Delete the editor_test located in your resources folder.
-
, calm down, Everyone, He's only one person
-
Sorry, try these: http://portforward.com/english/routers/ ... t_Auto.htm http://portforward.com/english/routers/ ... ftAuto.htm
-
, I wont post my code until he check's yours.