-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
addEventHandler("onClientResourceStart", resourceRoot, createBlipsOnStart)
-
isPedDucked killPed
-
I say it's better to use "onMarkerLeave" instead, Cause on Client side the movement will appear only to the client player, But on Server side it'll appear to everyone onClientMarkerLeave gets trigger for everyone when any player leave the marker, so it will appear to everyone.
-
GUIEditor = { edit = {}, button = {}, label = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(417, 315, 482, 107, "Execute command handler", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], false) GUIEditor.button[2] = guiCreateButton(407, 47, 60, 22, "Client", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(407, 75, 60, 22, "Server", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(10, 26, 329, 18, "Type your command here :", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "clear-normal") GUIEditor.label[2] = guiCreateLabel(3, 22, 259, 25, "", false, GUIEditor.label[1]) GUIEditor.label[3] = guiCreateLabel(190, 26, 299, 19, "For advanced users only.", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[3], 255, 0, 0) GUIEditor.edit[1] = guiCreateEdit(37, 54, 360, 31, "", false, GUIEditor.window[1]) GUIEditor.label[4] = guiCreateLabel(8, 60, 37, 25, "CMD:", false, GUIEditor.window[1]) if getPlayerSerial() == "سيريالك هنا" then bindKey("F2", "down", function() guiSetVisible(GUIEditor.window[1], not guiGetVisible(GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) end) end
-
لا تقرأ محد أجبرك، بس لما ينحذف موضوعك لا تقول وين موضوعي
-
ذا الكلام كله موجود في قوانين المنتدى https://forum.multitheftauto.com/viewtopic.php?f=119&t=49609
-
Required Arguments theMarker: The marker that you wish to set the color of. r: The amount of red in the final color (0 to 255). g: The amount of green in the final color (0 to 255). b: The amount of blue in the final color (0 to 255). a: The amount of alpha in the final color (0 to 255).
-
This script just has a serials check and addBan for these serials. https://community.multitheftauto.com/ind ... ls&id=6549 DONE
-
function open() guiSetVisible(GUIEditor_Window[1],not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end addEventHandler("onClientMarkerHit", yazan, open) ^^ function open(player) if player == localPlayer then guiSetVisible(GUIEditor_Window[1],not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end end addEventHandler("onClientMarkerHit", yazan, open)
-
Try this function sortTimerj ( plr, timer, time ) if timer and time then if isTimer ( timerjTimer ) then killTimer ( timerjTimer ) timerjTimer = nil end timerjTimer = setTimer ( function ( plr, timer, time ) if isElement(plr) then local timee = tonumber ( time or 0 ) - 70 m, s, cs = msToTimeStr ( timee ) fullTime = ''..tostring(m)..':'..tostring(s)..'' textItemSetText ( timer, "Time Left : "..fullTime ) setElementData ( resourceRoot, getPlayerSerial ( plr ).. "-t", timee ) if ( tonumber ( m ) <= 0 and tonumber ( s ) <= 0 and tonumber ( cs ) <= 0 ) then onTimerFinish(plr,timer) if isTimer ( timerjTimer ) then killTimer ( timerjTimer ) timerjTimer = nil end end end end , 50 , 0 , plr, timer, time ) end end if didn't work, post full code, include the function onTimerFinish.
-
Is there anyone saw a thing called "outputChatBox" runaway from the justice in this topic?
-
onResourceStart don't have player parameter, can't you even open the fucking wiki and read? And again can't you even open the fucking wiki and read about addEventHandler?
-
-- client guiGridListGetSelectedItem guiGridListGetItemText -- server or client getVehicleModelFromName
-
addEventHandler ذي الظاهر ناسخها من مثال الويكي حق الفنكشن طيب هات الكود و قولي وين احطه سيرفر ولا كلنت أي كود تقصد؟
-
مافيه شي بس في الحقيقة أنت ما تستخدم الـ قريد لست يعني وجوده = عدم وجوده
-
+ localPlayer كلينت فقط السيرفر يكون كذا addEvent("set", true) addEventHandler("set", root, function() sett = createVehicle ( 429, -3568.44434, -3001.70483, 45.00222 ) warpPedIntoVehicle ( source, sett ) end)
