لم يتم التجربة # .
addEventHandler( "onClientGUIClick", resourceRoot, function( )
if ( source == Button ) then
local pVehicle = getPedOccupiedVehicle( localPlayer )
if ( pVehicle ) then
if ( getElementModel( pVehicle ) == 411 ) then
for _,allvehicle in ipairs( getElementsByType( "vehicle" ) ) do
if ( isElementCollidableWith ( allvehicle , pVehicle ) == true ) then
setElementCollidableWith( allvehicle, pVehicle, false )
else
outputChatBox ( "#FF0000 ** x سيارتكـ لا تنصدم فعلأ x", 255, 0, 0, true )
end
end
end
else
outputChatBox ( "#FF0000 ** x اركب سيارتكـ اولأ x", 255, 0, 0, true )
end
end
end )