L3yr Posted February 27, 2017 Share Posted February 27, 2017 السلام عليكم شبابا فين الخطاء هنا ------------------------------------------------------------------------------------ function TheInicio() exports.scoreboard:scoreboardAddColumn("Occupation",true) outputDebugString ( "Police Job !!" ) end addEventHandler("onResourceStart", resourceRoot, TheInicio) addEventHandler("onResourceStart", resourceRoot, TheInicio) TeamPolice = createTeam ( "Police", 25, 112, 255 ) Police = createBlip (1553.64844, -1675.55835, 16.19531 ,30,2 ) setBlipVisibleDistance(Police, 250) Police = createBlip (2278.50317, 2459.65356, 10.82031,30,2 ) setBlipVisibleDistance(Police , 250) Police = createBlip (-217.98021, 985.25208, 19.55117,61,2 ) setBlipVisibleDistance(Police , 250) Police = createBlip (-1615.43188, 683.04700, 7.18750,30,2 ) setBlipVisibleDistance(Police , 250) function takeTheCrimJob(localPlayer) local TeamCrim = getTeamFromName ("Police") setElementModel ( localPlayer,283) setPlayerTeam ( localPlayer, TeamCrim ) setElementData ( localPlayer, "Occupation", "Police" ) setPlayerNametagColor ( localPlayer, 25, 112, 255 ) end addEvent ("Police", true ) addEventHandler ("Police", root, takeThePoliceJob) باخد التيم بس اللبس مش بيتغير ولا لونى فى الخريطه ولا كمان لون اسمى Link to comment
AHMED MOSTAFA Posted February 27, 2017 Share Posted February 27, 2017 (edited) وش يطلع لك بالدي بج ؟ اذا ما تدري كيف تجيب الاخطاء حقت المود اكتب في اف 8 debugscript 3 1 hour ago, L3yr said: السلام عليكم شبابا فين الخطاء هنا ------------------------------------------------------------------------------------ function TheInicio() exports.scoreboard:scoreboardAddColumn("Occupation",true) outputDebugString ( "Police Job !!" ) end addEventHandler("onResourceStart", resourceRoot, TheInicio) addEventHandler("onResourceStart", resourceRoot, TheInicio) TeamPolice = createTeam ( "Police", 25, 112, 255 ) Police = createBlip (1553.64844, -1675.55835, 16.19531 ,30,2 ) setBlipVisibleDistance(Police, 250) Police = createBlip (2278.50317, 2459.65356, 10.82031,30,2 ) setBlipVisibleDistance(Police , 250) Police = createBlip (-217.98021, 985.25208, 19.55117,61,2 ) setBlipVisibleDistance(Police , 250) Police = createBlip (-1615.43188, 683.04700, 7.18750,30,2 ) setBlipVisibleDistance(Police , 250) function takeTheCrimJob(localPlayer) local TeamCrim = getTeamFromName ("Police") setElementModel ( localPlayer,283) setPlayerTeam ( localPlayer, TeamCrim ) setElementData ( localPlayer, "Occupation", "Police" ) setPlayerNametagColor ( localPlayer, 25, 112, 255 ) end addEvent ("Police", true ) addEventHandler ("Police", root, takeThePoliceJob) باخد التيم بس اللبس مش بيتغير ولا لونى فى الخريطه ولا كمان لون اسمى ملاحظة بدل localPlayer بـ client افضل Edited February 27, 2017 by Killer Project Link to comment
L3yr Posted February 27, 2017 Author Share Posted February 27, 2017 3 hours ago, Killer Project said: وش يطلع لك بالدي بج ؟ اذا ما تدري كيف تجيب الاخطاء حقت المود اكتب في اف 8 debugscript 3 ملاحظة بدل localPlayer بـ client افضل شكرا على الرد Link to comment
Ahmed Ly Posted February 27, 2017 Share Posted February 27, 2017 function TheInicio() exports.scoreboard:scoreboardAddColumn("Occupation",true) outputDebugString ( "Police Job !!" ) end addEventHandler("onResourceStart", resourceRoot, TheInicio) addEventHandler("onResourceStart", resourceRoot, TheInicio) TeamPolice = createTeam ( "Police", 25, 112, 255 ) Police = createBlip (1553.64844, -1675.55835, 16.19531 ,30,2 ) setBlipVisibleDistance(Police, 250) Police = createBlip (2278.50317, 2459.65356, 10.82031,30,2 ) setBlipVisibleDistance(Police , 250) Police = createBlip (-217.98021, 985.25208, 19.55117,61,2 ) setBlipVisibleDistance(Police , 250) Police = createBlip (-1615.43188, 683.04700, 7.18750,30,2 ) setBlipVisibleDistance(Police , 250) function takeTheCrimJob() local TeamCrim = getTeamFromName ("Police") setElementModel (source,283) setPlayerTeam (source, TeamCrim ) setElementData (source, "Occupation", "Police" ) setPlayerNametagColor (source, 25, 112, 255 ) end addEvent ("Police", true ) addEventHandler ("Police",root,takeTheCrimJob) Link to comment
L3yr Posted February 28, 2017 Author Share Posted February 28, 2017 9 hours ago, Ahmed Ly said: function TheInicio() exports.scoreboard:scoreboardAddColumn("Occupation",true) outputDebugString ( "Police Job !!" ) end addEventHandler("onResourceStart", resourceRoot, TheInicio) addEventHandler("onResourceStart", resourceRoot, TheInicio) TeamPolice = createTeam ( "Police", 25, 112, 255 ) Police = createBlip (1553.64844, -1675.55835, 16.19531 ,30,2 ) setBlipVisibleDistance(Police, 250) Police = createBlip (2278.50317, 2459.65356, 10.82031,30,2 ) setBlipVisibleDistance(Police , 250) Police = createBlip (-217.98021, 985.25208, 19.55117,61,2 ) setBlipVisibleDistance(Police , 250) Police = createBlip (-1615.43188, 683.04700, 7.18750,30,2 ) setBlipVisibleDistance(Police , 250) function takeTheCrimJob() local TeamCrim = getTeamFromName ("Police") setElementModel (source,283) setPlayerTeam (source, TeamCrim ) setElementData (source, "Occupation", "Police" ) setPlayerNametagColor (source, 25, 112, 255 ) end addEvent ("Police", true ) addEventHandler ("Police",root,takeTheCrimJob) تسلم على المجهود 1 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