Jump to content

تصحيح


Recommended Posts

السلام عليكم ورحمه الله وبركاته

الكود ,

function onHit ( player )
if source == marker1 then
if player == localPlayer then
guiSetVisible(Police_System,true)
showCursor(true) 
points = getElementData(killer,"PolicePoint")
guiSetText(label_kill,""..PolicePoint.."")
end
end
end
addEventHandler("onClientMarkerHit",root, onHit )

الحين الاخطاء في السطرين هذول

points = getElementData(killer,"PolicePoint")
guiSetText(label_kill,""..PolicePoint.."")

اول سطر الارقمنت

تاني سطر الداتا الي هي بوليس بونت

ممكن تصحيح؟

Link to comment
10 hours ago, #AL-J7EEEM said:

السلام عليكم ورحمه الله وبركاته

الكود ,


function onHit ( player )
if source == marker1 then
if player == localPlayer then
guiSetVisible(Police_System,true)
showCursor(true) 
points = getElementData(killer,"PolicePoint")
guiSetText(label_kill,""..PolicePoint.."")
end
end
end
addEventHandler("onClientMarkerHit",root, onHit )

الحين الاخطاء في السطرين هذول


points = getElementData(killer,"PolicePoint")
guiSetText(label_kill,""..PolicePoint.."")

اول سطر الارقمنت

تاني سطر الداتا الي هي بوليس بونت

ممكن تصحيح؟


انت مسوي الداتا على اساس وش ؟
+ PolicePoint وش هي ؟

Link to comment
addEventHandler( "onClientMarkerHit", marker,
function( p )
	if ( p == localPlayer ) then
		guiSetVisible(Police_System,true)
showCursor(true)
points = getElementData(p,"PolicePoint")
guiSetText(label_kill,points)
	end
end )

لافادة الاخرين تصحيح الكود 

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