
SycroX
Members-
Posts
2,141 -
Joined
-
Last visited
-
Days Won
15
Everything posted by SycroX
-
function engineSwitch() if isPedInVehicle(source) then local veh, engine = getPedOccupiedVehicle(source), getVehicleEngineState(veh) setVehicleEngineState(veh, not engine) outputChatBox(engine and "you've successfully turn the engine off" or "engine turned on successfully", source, 255, 255, 255, true) end end addEvent("engenieSwitch", true) addEventHandler("engenieSwitch", getRootElement(), engineSwitch) try this, by the way your code is fine but did you define (r, g, b) ?
-
-- or addEventHandler ( "onClientRender", root, function() dxDrawImage(200, 200, 100, 100, 'pic.png', getTickCount()/0.9) end ) اذا ما تبي تستعمل متغيرات
-
الوظيفه ذي ترجع لك فلوس اللوكل بلاير فقط اذا تبي تجيب فلوس اللاعبين جبها سيرفر سايد و ارسلها للكلنت عن طريق التريجر
-
int getPlayerMoney ( ) OOP Syntax Help! I don't understand this! Method: Player.getMoney(...) Counterpart: setPlayerMoney Returns[edit] Returns an integer with the amount of money the local player has.
-
معلش هو انت مو قلت مره انت مبرمج و كذا و تعلمت البرمجه كيف تيجي هنا و تطلب الأشياء السهله ذي ؟
-
bug ?? https://prnt.sc/kdo1wx
-
اذا تابع izombie روعه
-
create it in this section https://forum.multitheftauto.com/forum/134-البرمجة/
-
lol i thought this is the arabic section sry for the topic's owner , in this section you can't speak any language except english so you have to go to the arabic section and repost your problem there and the solution of your problem is to add user.Console to console group , if it didn't work so you gotta check the console group if you have modified it or removed some permissions
-
ضيف ذا لجروب كونسال user.Console مو user.console ذي غلط
-
تحفظه علي اسم اللاعب ؟؟ افرض الاعب غير اسمه بيروح كل شي معه لهيك افضل شي احفظو علي الأكونت او السريال
-
warpPedIntoVehicle بتاعت فنكشن Argumentsما فكرت تقراء الـ
-
well we can simply use addDebugHook
-
https://community.multitheftauto.com/?p=resources&s=details&id=15560
-
ما اخدت بالي local kills = 0 addEventHandler("onClientPlayerWasted", root, function(killer) if killer and killer ~= source and getElementType(killer) == "player" then if killer == localPlayer then kills = kills + 1 if kills == 1 then addEventHandler("onClientRender", root, dxText) end killsTimer = setTimer(function() kills = kills - 1 if kills > 0 then resetTimer(killsTimer) else removeEventHandler("onClientRender", root, dxText) if kills < 0 then kills = 0 end end end, 3000, 1) end end end ) function dxText() dxDrawText("+1,000 $", 941, 325, 1145, 368, tocolor(22, 191, 14, 255), 1.20, "bankgothic", "left", "top", false, false, false, false, false) end
-
لسا فورا ملاحظ انك زاحف هههه ولكم منور يراجل اسمك القديم كان افضل + local kills = 0 addEventHandler("onClientPlayerWasted", root, function(killer) if killer and killer ~= source and getElementType(killer) == "player" then if killer == localPlayer then kills = kills + 1 if kills == 1 then addEventHandler("onClientRender", root, dxText) end killsTimer = setTimer(function() kills = kills - 1 if kills > 0 then resetTimer(killsTimer) else removeEventHandler("onClientRender", root, dxText) if kills < 0 then kills = 0 end end end end end end ) function dxText() dxDrawText("+1,000 $", 941, 325, 1145, 368, tocolor(22, 191, 14, 255), 1.20, "bankgothic", "left", "top", false, false, false, false, false) end
-
if you speak arabic so you have to go to arabic section https://forum.multitheftauto.com/forum/96-arabic-العربية/
-
there's a lot of functions like getPlayerACLGroups that the function you want you will find it in that topic
-
so there's a lot of useful functions in our arab''s useful functions topic you can find what you need in this topic or you can use aclGetList isObjectInACLGroup and put the results in table and send the table to client side
-
اظن بالأكونت داتا اسهل شي و ما يحتاج قواعد بيانات بكل بساطه استخدم حدث لما يسجل اللاعب Ex addEventHandler("onPlayerLogin", root, function(_,account) local isFirstTime = getAccountData(account, "iFT") if not isFirstTime then setAccountDate(account, "iFT", "true") else outputChatBox("that's not your first time buddy", source, 255, 255, 255) end end )