-
Posts
1,165 -
Joined
-
Last visited
-
Days Won
3
Everything posted by ALw7sH
-
What have you added or edited on this update? and post your buy map codes
-
Why source, source of onResourceStart is the resource started lol
-
He can do a note that the player should set the images on the resource file then it will be possible
-
لازم ماتستخدم setElementData getElementData لانه الخانة حقتك وقت التسجيل فقط ولو استخدمت المنت داتا اول ما اللاعب يطلع ويدخل بتروح منه الالمنت داتا ف المفروض تستخدم setAccountData getAccountData
-
Video has been added
-
Video has been added
-
السلام عليكم, هو مشروع اوبن سورس يتكون من كم سكربت لقيم مود الريس وقيم مود ريس A7 race scripts pack حالياً السكربتات الي فكرة اسويها داشبورد(يوزر بانل) وبيكون فيه ماب شوب وكراج واحتمال يكون فيه اشياء اكثر بعدين وسكربت فوت ريدو وسكربت الرسائل وقيم مود الريس وأي احد عنده فكرة سكربت يبي اضمها للبروجكت يكتبها وبشوفها ان شاء الله تصميم السكربت مافيه أي تعقيد 90% من السكربت مربعات الكراج ماهو مثل أي كراج الي تقدر بس تغير فيه لون السياره والكفرات واشياء صغيرة مثل اضافة جناح وصدام خلفي وصدام امامي الخ infernus راح تكون كل هالاشياء موجوده واشياء اكثر منها تعديل وتزويد السياره الي اكثر شي تستعمل في الريس وهي ال Scripts progress: > Dashboard 10% - > Main(Tab) 100% - > Map shop(Tab) 0% - > Garage(Tab) 0% - > dxLib 21% فيديوات: اخر فيديو: تعديل الانفرنس: فيديوات قديمة: صور: Gamemode: Dashboard: Changelog:
-
قريبا مود مدرسة تعليم قيادة السيارات (الرخصة) من قبلي
ALw7sH replied to I_Mr.[T]he[P]rInCe's topic in المساهمات
فكرتي هي نفس الي عندنا بالبحرين بس ناقصة خطوتين الي اتوقع مالهم فايده واذا بتقولي مافيه باركنج واشياء زي كذا ما اشوف انهم مهمين لذي الدرجة لول وفي النهاية السكربت كنت مسوية وخبرتي في البرمجة تعبانة شوي -
local weapons = { -- ID,AMMO,MONEY 31,500,200, 30,500,200, } local gridlist = guiCreateGridList ( 0, 0, 150, 40, false ) local id = guiGridListAddColumn( gridlist, "ID", 0.85 ) local name = guiGridListAddColumn( gridlist, "Name", 0.85 ) local ammo = guiGridListAddColumn( gridlist, "AMMO", 0.85 ) local money = guiGridListAddColumn( gridlist, "Money", 0.85 ) for _,weapon in ipairs(weapons) do local row = guiGridListAddRow( gridlist ) guiGridListSetItemText( gridlist, row, id, weapon[1], false, false ) guiGridListSetItemText( gridlist, row, name, getWeaponNameFromID(weapon[1]), false, false ) guiGridListSetItemText( gridlist, row, ammo, weapon[2], false, false ) guiGridListSetItemText( gridlist, row, money, weapon[3], false, false ) end
-
تجيب لك الكتابة حق الرو المحدد في القريد لست
-
That's why setPlayerHudComponentVisible doesn't works
-
This is custom hud?
-
local pending = {} local afkTime = 30 -- In seconds function checkAFK() for thePlayer, isPending in pairs(pending) do if (getPlayerIdleTime(thePlayer) > afkTime*1000) then if exports.global:isPlayerFullAdmin(thePlayer) then if getElementData(thePlayer, "adminduty") == 1 then exports['anticheat-system']:changeProtectedElementDataEx(thePlayer, "adminduty", 0, false) exports.global:sendMessageToAdmins("AdmDuty: " .. getPlayerName(thePlayer):gsub("_", " ") .. " went off duty (AFK).") exports.global:updateNametagColor(thePlayer) end else triggerClientEvent(thePlayer, "accounts:logout", thePlayer, "You have been put to the character selection for being AFK.") end else pending[thePlayer] = nil end end end
-
Yea, you are welcome anytime and thats will be great
-
That's really useful especially when you are working with onClientRender
-
Hi, A7 race scripts pack is a open source scripts pack which is consists of a few scripts for race gamemode and a race gamemode too For now i have planed to do Dashboard which inculde mapshop and garage only now, voteredo, notification and ofcourse the race gamemode, feel free to suggest any other script idea. The scripts style is a basic design which is 98% designed of rectangles. the garage is not like any original garage that you can only change the car color, wheels and another small stuff there's a new feature that let you coustmize you infernus and add spoilers,front bumpers, rear bumpers and SideSkirt. Videos: Latest video: Infernus tunning: Old videos: Pictures: Gamemode: Dashboard: Changelog: Sorry if there's any spelling mistakes because my english is not really good, Regards, ALw7sH.
-
local Timers = {} items = { "Water Bottle", "Tea", "Fence", 'Morphine', "Pizza", "Chicken Burger", "Pepsi", "Fanta", "Engine", "Wheel" } function getXY( ) return math.random(-1500, 1500), math.random(-1500, 1500) end function spawnObjects( ) local x, y = getXY( ) local object = createObject( 1271, x, y, 0 ) setElementData( object, "item", items[ math.random( #items ) ] ) setElementOnGround(object) createBlip( 1, x, y, 100 ) setTimer( spawnObjects, 3000, 1 ) end spawnObjects( ) function setElementOnGround(element) local eX,eY,eZ = getElementPosition(element) Timers[element] = setTimer( function(x,y,z) local succeed, _, _, groundZ = processLineOfSight(x, y, 3000, x, y, -3000) if succeed then local wZ = getWaterLevel(x, y, 100) z = (wZ and math.max(groundZ, wZ) or groundZ) + getElementDistanceFromCentreOfMassToBaseOfModel(element) setElementPosition(x,y,z) killTimer(Timers[element]) Timers[element] = nil end end,100,0,eX,eY,eZ) end setElementOnGround function codes&idea rights back to who created the freeroam, i have just make it as a function Edit: I haven't test, so im not sure if it's gonna works
-
Try to do it by yourself, if face any problem we'll help you but i don't think that someone will do the whole script for you expect if you are ready to pay him
-
it's -3000,3000 not -1500,1500
-
^ كيف تخفي الزر قبل ماتصنعه لول فنكشن guiSetVisible لازم يكون تحت فنكشن guiCreateButton ماهو فوقه
-
function infoIt() local getInfo = guiComboBoxGetSelected(createComboBox) local infoText = guiComboBoxGetItemText(createComboBox, getInfo) if infoText == "Administrator Assistance" then if source == openBtn then guiSetVisible(wHelp,true) showCursor( true ) end elseif infoText == "Gamemaster Assistance" then if source == openBtn then gmReportUI() showCursor(true) end end end addEventHandler("onClientGUIClick", getRootElement(), infoIt)
-
medicVehicles = { [416]=true, [563]=true } medicTeam = { ['Médicos']=true } function medicenterVehicle ( player, seat, jacked ) if ( medicVehicles[getElementModel ( source )] and ( medicTeam[getPlayerTeam ( player )] ) and seat == 0 ) then cancelEvent() outputChatBox ( "Debes de ser un médico para poder entrar al vehículo.", player ) end end addEventHandler ( "onVehicleStartEnter", getRootElement(), medicenterVehicle )
-
I meant if you have added resource.ResourceName to Admin ACL group