Mubark Posted January 20, 2013 Share Posted January 20, 2013 شباب كيف أسوي سياره خاصه و علامها Link to comment
|Mr|-Talal07-| Posted January 20, 2013 Share Posted January 20, 2013 -- Server Side -- x,y,z = 0,0,0 -- احداثيات السيارة id = 411 -- ايدي السياره serial = "سيريالك هنا" addEventHandler("onResourceStart",resourceRoot, function () Car = createVehicle(id,x,y,z) createBlipAttachedTo(Car,55) end ) addEventHandler("onVehicleEnter",Car, function (player,seat) if ( serial == getPlayerSerial(player) and seat == 0 ) then outputChatBox("* مرحباا بك في سيارتك",player,0,255,0) else outputChatBox("* هذه السياره خاصة",player,255,0,0) removePedFromVehicle(player) end end ) Link to comment
Mubark Posted January 20, 2013 Author Share Posted January 20, 2013 مشكور اخوي و ماقصرت Link to comment
|Mr|-Talal07-| Posted January 20, 2013 Share Posted January 20, 2013 مشكور اخوي و ماقصرت العفو Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now