queenshe Posted March 6, 2019 Share Posted March 6, 2019 Hi, I can't put a new player on the server. I've deleted [gamemode]> [play]> play> broph.map but it still starts there. Plz help me function onWasted(totalAmmo, killer, killerWeapon, bodypart, stealth) local theWeapon = getPedWeapon (source) local theWeapon1 = getPedWeapon (source, 1) local theWeapon2 = getPedWeapon (source, 2) local theWeapon3 = getPedWeapon (source, 3) local theWeapon4 = getPedWeapon (source, 4) local theWeapon5 = getPedWeapon (source, 5) local theWeapon6 = getPedWeapon (source, 6) local theWeapon7 = getPedWeapon (source, 7) local theWeapon8 = getPedWeapon (source, 8) local theWeapon9 = getPedWeapon (source, 9) local theWeapon10 = getPedWeapon (source, 10) local theWeapon11 = getPedWeapon (source, 11) local theWeapon12 = getPedWeapon (source, 12) local weaponAmmo = getPedTotalAmmo (source) local weaponAmmo1 = getPedTotalAmmo (source, 1) local weaponAmmo2 = getPedTotalAmmo (source, 2) local weaponAmmo3 = getPedTotalAmmo (source, 3) local weaponAmmo4 = getPedTotalAmmo (source, 4) local weaponAmmo5 = getPedTotalAmmo (source, 5) local weaponAmmo6 = getPedTotalAmmo (source, 6) local weaponAmmo7 = getPedTotalAmmo (source, 7) local weaponAmmo8 = getPedTotalAmmo (source, 8) local weaponAmmo9 = getPedTotalAmmo (source, 9) local weaponAmmo10 = getPedTotalAmmo (source, 10) local weaponAmmo11 = getPedTotalAmmo (source, 11) local weaponAmmo12 = getPedTotalAmmo (source, 12) local Skiin = getPedSkin (source) fadeCamera (source, false) setTimer (setElementModel, 2000, 1, source, Skiin, true) setTimer (spawnPlayer, 1000, 1, source, 208.53065490723, -1865.7003173828, 12.215625762939, 354.97918701172, getPedSkin (source), 0, 0, getPlayerTeam(source)) setTimer (setCameraTarget, 1250, 1, source, source) setTimer (fadeCamera, 2000, 1, source, true) setTimer (giveWeapon, 2000, 1, source, theWeapon, weaponAmmo, true) setTimer (giveWeapon, 2000, 1, source, theWeapon1, weaponAmmo1, true) setTimer (giveWeapon, 2000, 1, source, theWeapon2, weaponAmmo2, true) setTimer (giveWeapon, 2000, 1, source, theWeapon3, weaponAmmo3, true) setTimer (giveWeapon, 2000, 1, source, theWeapon4, weaponAmmo4, true) setTimer (giveWeapon, 2000, 1, source, theWeapon5, weaponAmmo5, true) setTimer (giveWeapon, 2000, 1, source, theWeapon6, weaponAmmo6, true) setTimer (giveWeapon, 2000, 1, source, theWeapon7, weaponAmmo7, true) setTimer (giveWeapon, 2000, 1, source, theWeapon8, weaponAmmo8, true) setTimer (giveWeapon, 2000, 1, source, theWeapon9, weaponAmmo9, true) setTimer (giveWeapon, 2000, 1, source, theWeapon10, weaponAmmo10, true) setTimer (giveWeapon, 2000, 1, source, theWeapon11, weaponAmmo11, true) setTimer (giveWeapon, 2000, 1, source, theWeapon12, weaponAmmo12, true) end addEventHandler ("onPlayerWasted", getRootElement(), onWasted) function joinHandler() spawnPlayer(source, 208.53065490723, -1865.7003173828, 12.215625762939) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox("Script Test [ON]", source) end addEventHandler("onPlayerJoin", getRootElement(), joinHandler) 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