AR/Other

From Multi Theft Auto: Wiki
Revision as of 15:32, 16 August 2014 by Tn6eL Gamer (talk | contribs) (Created page with "<font color="#FF0000" size="7"> <strong> <p align="center">'''بسم الله الرحمن الرحيم'''</p> </strong> </font><br /> <p align="center">________...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

بسم الله الرحمن الرحيم




___________________________________________________________________


== return == تستخدم لارجاع القيمة

Click to collapse [-]
Example
function createZone(x, y, sizeX, sizeY)
	createRadarArea(x, y, sizeX, sizeY)
	return createColRectangle(x,  y, sizeX, sizeY)
end

addEventHandler("onColShapeHit", createZone(94.81484, 1815.98547, 500, 300), function(Hit)
	if getElementType(Hit) == "player" then
		killPed(Hit)
	end
end)

نلاحظ اننا رجعنا القيمة للكول شيب