Jump to content

صيحيح شباب


L3yr

Recommended Posts

السلام عليكم شبابا

فين الخطاء هنا

------------------------------------------------------------------------------------
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

وش يطلع لك بالدي بج ؟

اذا ما تدري كيف تجيب الاخطاء حقت المود

اكتب في اف 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 by Killer Project
Link to comment
3 hours ago, Killer Project said:

وش يطلع لك بالدي بج ؟

اذا ما تدري كيف تجيب الاخطاء حقت المود

اكتب في اف 8

debugscript 3




ملاحظة بدل
localPlayer
بـ
client

افضل

شكرا على الرد

Link to comment
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
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)

 

تسلم على المجهود

  • Like 1
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...