-
Posts
10,056 -
Joined
-
Last visited
-
Days Won
27
Everything posted by iPrestege
-
دور ملف فية DxDrawText > و ضبطها
-
You did pass 0 model you want to replace 0 model? It's 'CJ' Skin | = .
-
سيرفر ؟ | = شغال عندي ورني شسآويت
-
How to make nickname for have first and last name ?
iPrestege replied to magyargabi's topic in Scripting
You're welcome . -
-- # Server Side : addEventHandler('onPlayerChat',root, function ( aMessage ) exports.killmessages:outputMessage('برستيج : '..aMessage,root,255,0,0) end ) بس كذا اي احد يكتب تصير لة اخليها على سريالك ؟ local aSerial = 'Here Your Serial' addEventHandler('onPlayerChat',root, function ( aMessage ) if getPlayerSerial ( source ) == aSerial then exports.killmessages:outputMessage('برستيج : '..aMessage,root,255,0,0) end end )
-
This will make it a global variable, meaning that if another player says "lol", it'll increase the variable. He should use a table instead. I know that , It's an example we don't accept requests here .. .
-
جرب غير الروم ذذ
-
شغال زي الحلاوهـ ..
-
How to make nickname for have first and last name ?
iPrestege replied to magyargabi's topic in Scripting
MTA does not allow spaces in the Nick Name . -
> ="s.lua" /> ="c.lua" type="client"/>> وتأكد انك حاط الاكواد ب الملف الصحيح
-
GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(309, 220, 212, 194, "Cars Panel", false) guiWindowSetSizable(GUIEditor.window[1], false) fix = guiCreateButton(15, 30, 79, 39, "fix", false, GUIEditor.window[1]) guiSetProperty(fix, "NormalTextColour", "FF3B00FF") color = guiCreateButton(113, 30, 79, 39, "color", false, GUIEditor.window[1]) guiSetProperty(color, "NormalTextColour", "FF3B00FF") engine = guiCreateButton(15, 84, 79, 39, "engine", false, GUIEditor.window[1]) guiSetProperty(engine, "NormalTextColour", "FF3B00FF") lock = guiCreateButton(113, 84, 79, 39, "lock", false, GUIEditor.window[1]) guiSetProperty(lock, "NormalTextColour", "FF3B00FF") light = guiCreateButton(59, 135, 79, 39, "light", false, GUIEditor.window[1]) guiSetProperty(light, "NormalTextColour", "FF3B00FF") GUIEditor.label[1] = guiCreateLabel(8, 140, 46, 22, "Panel By", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 254, 0, 0) GUIEditor.label[2] = guiCreateLabel(8, 164, 46, 18, "Mr.eKoO", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 44, 251, 3) GUIEditor.button[6] = guiCreateButton(207, 132, 0, 18, "", false, GUIEditor.window[1]) buttonclose = guiCreateButton(166, 150, 21, 20, "x", false, GUIEditor.window[1]) end ) function open( ) guiSetVisible ( GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( guiGetVisible ( GUIEditor.window[1] ) ) end bindKey ( "F5", "down", open ) addEventHandler('onClientGUIClick', root, function() if ( source == fix ) then triggerServerEvent("fix",localPlayer,localPlayer) elseif ( source == color ) then triggerServerEvent("color",localPlayer,localPlayer) elseif ( source == engine ) then triggerServerEvent("engine",localPlayer,localPlayer) elseif ( source == lock ) then triggerServerEvent("lock",localPlayer,localPlayer) elseif ( source == light ) then triggerServerEvent("light",localPlayer,localPlayer) elseif ( source == buttonclose ) then guiSetVisible ( GUIEditor.window[1],false ) showCursor ( false ) end end )
-
https://community.multitheftauto.com/index.php?p=resources&s=details&id=5396 English speed cam .. .
-
اللي تسوي لها اللي بالـخطأ nil > يعني ماهي موجودة تقدر تطرح الكلنت ؟
-
addEvent("fix",true) addEventHandler("fix",root, function (thePlayer) local Vehicle = getPedOccupiedVehicle(thePlayer) if Vehicle then if (getPlayerMoney (thePlayer) >= 1000) then fixVehicle ( Vehicle ) takePlayerMoney ( thePlayer, 1000 ) outputChatBox("#00FF00Your vehicle has been fixed at $1000.",thePlayer,255,255,255,true) else outputChatBox("#FF0000انت لاتملك المال الكافي.",thePlayer,255,255,255,true) end else outputChatBox("#FF0000You must be a Vehicle.",thePlayer,255,255,255,true) end end ) addEvent("color",true) addEventHandler("color",root, function (thePlayer) local Vehicle = getPedOccupiedVehicle(thePlayer) if Vehicle then if getPlayerMoney (thePlayer) >= 1000 then local r, g, b = math.random( 255 ), math.random( 255 ), math.random( 255 ) setVehicleColor( Vehicle, r, g, b ) takePlayerMoney ( thePlayer, 1000 ) outputChatBox("#00FF00Change the color of your vehicle successfully at $1000.",thePlayer,255,255,255,true) else outputChatBox("انت لاتملك المال الكافي.",thePlayer,255,255,255,true) end else outputChatBox("#FF0000You must be a Vehicle.",thePlayer,255,255,255,true) end end ) addEvent("engine",true) addEventHandler("engine",root, function (thePlayer) executeCommandHandler( 'engine',thePlayer ) end ) addEvent("lock",true) addEventHandler("lock",root, function () executeCommandHandler( 'lock',thePlayer ) end ) addEvent("light",true) addEventHandler("light",root, function (thePlayer) executeCommandHandler( 'light',thePlayer ) end )
-
اذا ماتبي تطرحة ارسلة خاص ذذذذ فية مشكلة هو بالسيرفر ذذ
-
اكيد ناقص او زايد اند باكواد السيرفر اذا تقدر تطرحة كامل او فاصلة..ألخ
-
addEvent("fix",true) addEventHandler("fix",root, function ( thePlayer ) if isPedInVehicle ( thePlayer ) then fixVehicle ( getPedOccupiedVehicle(thePlayer) ) end end )
-
اذا تقدر تطرح الكود كامل حقك ياليت عشان اساعدكـ .. اللي بالترايقر
-
اطرح الكلنت + debugscript 3 وش يقول؟
-
thePlayer = ? تقدر تسوية كذا : triggerServerEvent('fix',localPlayer,localPlayer) ويشتغل او هذي : addEvent("fix",true) addEventHandler("fix",root, function ( ) outputChatBox("fix.",client,255,255,255,true) end )
-
كلمت واحد يقولي شافه مهكر قبل كم يوم كلمت صاحب الصفحة يقول مابه شيء ..
-
طيب سوية كذا سوي اللي تبية كلنت ؟ : addEventHandler('onClientGUIClick',MyGuiElement, function ( ) -- Any Thing end,false ) Ex : addEventHandler('onClientGUIClick',MyGuiElement, function ( ) setElementHealth ( localPlayer,100 ) end,false )