الكود يسير كذا ؟
addCommandHandler ( "car",
function ( thePlayer, cmd, 402 )
x, y, z = getElementPosition ( thePlayer )
theVehicle = createVehicle ( tonumber(id), x, y + 3, z )
end
)
addEventHandler ( "onVehicleStartEnter", root,
function ( thePlayer, theSeat )
if source == theVehicle then
if ( theSeat == 0 ) and ( getPlayerSerial ( thePlayer ) ~= "baee69a296db2edecc91449721fc56a1" ) then
cancelEvent ( )
outputChatBox ( "* ~][ سياره خاصه ب يـز ـن ][~", thePlayer, 255, 255, 0, true )
else
outputChatBox ( "* ~][ مرحبا بيك يا يزن في سيارت الخاصه ][~", thePlayer, 255, 0, 0, true )
setVehicleDamageProof(theVehicle, true)
end
end
end
)