-
Posts
10,056 -
Joined
-
Last visited
-
Days Won
27
Everything posted by iPrestege
-
حسب علمي مرهـ قريت موضوع موجود فية رد من التيم ان Hot Coffee ماتشتغل كويس مع MTA + ..
-
source is not defined . Thanks for warn, but are the rest right? local x,y,z = getElementPosition( thePlayer ) addCommandHandler( "info", function (thePlayer, commandName, id) if getElementType(thePlayer) == "player" then if (tonumber(id)) then createObject(id, y, x, z - 1) end end end ) No it's not .
-
source is not defined .
-
--[[------------------------------------------------- --- المود صنع مستر الكارثه --- [email protected] --- الرجاء عدم نزع الحقوق --]]------------------------------------------------- outputChatBox("#1569c7* [ Login #ffffff/ #1569c7Register ] : By : #FF0000Mr~AL~#FFF000~Kartha",0,0,0,true) ---- الكلام الظاهر في الشات GUIEditor = { staticimage = {}, edit = {}, button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(1, 0, 799, 600, "[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.99) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") GUIEditor.staticimage[1] = guiCreateStaticImage(9, 22, 780, 308, "win.png", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(193, 344, 406, 24, "الرجاء عدم اعطاء الرقم السري الى احد حتا لو كان اخوك ولد عمك لا تعطيه ناس", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 252, 0) user = guiCreateEdit(305, 417, 185, 29, "", false, GUIEditor.window[1]) pass = guiCreateEdit(305, 474, 185, 29, "", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(342, 395, 117, 22, "آســم آلــمــســتــخــدم", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 255, 0, 0) GUIEditor.label[3] = guiCreateLabel(352, 452, 95, 22, "كــلــمــة آلــمــرور", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 251, 255, 0) GUIEditor.button[1] = guiCreateButton(274, 534, 88, 31, "تـسـجـيـل", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFBFF00") GUIEditor.button[2] = guiCreateButton(362, 534, 88, 31, "دخـول", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF05FF00") GUIEditor.button[3] = guiCreateButton(450, 534, 88, 31, "زآئـر", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF00FFF5") GUIEditor.label[4] = guiCreateLabel(236, 371, 320, 20, "\" رَبَّنَا آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الآخِرَةِ حَسَنَةً وَقِنَا عَذَابَ النَّارِ\"", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], "default-bold-small") guiLabelSetColor(GUIEditor.label[4], 255, 252, 0) GUIEditor.label[5] = guiCreateLabel(14, 337, 114, 21, "Mod By : Mr-Kartha", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetColor(GUIEditor.label[5], 0, 251, 255) GUIEditor.button[4] = guiCreateButton(411, 513, 29, 16, "EN", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFF0000") GUIEditor.button[5] = guiCreateButton(366, 513, 29, 16, "AR", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF2FFF00") showCursor(true) guiSetInputEnabled(true) end ) addEventHandler('onClientGUIClick',root, function () if ( source == GUIEditor.button[5] ) then guiSetText(GUIEditor.window[1],"[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]") guiSetText(GUIEditor.label[2],"آســم آلــمــســتــخــدم") guiSetText(GUIEditor.label[3],"كــلــمــة آلــمــرور") guiSetText(GUIEditor.button[2],"دخـول") guiSetText(GUIEditor.button[1],"تـسـجـيـل") guiSetText(GUIEditor.button[3],"زآئـر") elseif ( source == GUIEditor.button[4] ) then guiSetText(GUIEditor.window[1],"Welcome To Our Server AK-KSA") guiSetText(GUIEditor.label[2],"Username") guiSetText(GUIEditor.label[3],"Password") guiSetText(GUIEditor.button[2],"Login") guiSetText(GUIEditor.button[1],"Register") guiSetText(GUIEditor.button[3],"Guest") elseif ( source == GUIEditor.button[3] ) then guiSetVisible(GUIEditor.window[1],false) showCursor(false) guiSetInputEnabled(false) elseif ( source == GUIEditor.button[2] ) then triggerServerEvent("onlogin",localPlayer,guiGetText(user),guiGetText(pass)) elseif ( source == GUIEditor.button[1] ) then triggerServerEvent("onre",localPlayer,guiGetText(user),guiGetText(pass)) end end ) addEvent("setcol",true) addEventHandler("setcol",getRootElement(), function () guiSetVisible(GUIEditor.window[1],false) showCursor(false) guiSetInputEnabled(false) end )
-
--[[------------------------------------------------- --- المود صنع مستر الكارثه --- [email protected] --- الرجاء عدم نزع الحقوق --]]------------------------------------------------- outputChatBox("#1569c7* [ Login #ffffff/ #1569c7Register ] : By : #FF0000Mr~AL~#FFF000~Kartha",0,0,0,true) ---- الكلام الظاهر في الشات GUIEditor = { staticimage = {}, edit = {}, button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(1, 0, 799, 600, "[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.99) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") GUIEditor.staticimage[1] = guiCreateStaticImage(9, 22, 780, 308, "win.png", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(193, 344, 406, 24, "الرجاء عدم اعطاء الرقم السري الى احد حتا لو كان اخوك ولد عمك لا تعطيه ناس", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 252, 0) user = guiCreateEdit(305, 417, 185, 29, "", false, GUIEditor.window[1]) pass = guiCreateEdit(305, 474, 185, 29, "", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(342, 395, 117, 22, "آســم آلــمــســتــخــدم", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 255, 0, 0) GUIEditor.label[3] = guiCreateLabel(352, 452, 95, 22, "كــلــمــة آلــمــرور", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 251, 255, 0) GUIEditor.button[1] = guiCreateButton(274, 534, 88, 31, "تـسـجـيـل", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFBFF00") GUIEditor.button[2] = guiCreateButton(362, 534, 88, 31, "دخـول", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF05FF00") GUIEditor.button[3] = guiCreateButton(450, 534, 88, 31, "زآئـر", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF00FFF5") GUIEditor.label[4] = guiCreateLabel(236, 371, 320, 20, "\" رَبَّنَا آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الآخِرَةِ حَسَنَةً وَقِنَا عَذَابَ النَّارِ\"", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], "default-bold-small") guiLabelSetColor(GUIEditor.label[4], 255, 252, 0) GUIEditor.label[5] = guiCreateLabel(14, 337, 114, 21, "Mod By : Mr-Kartha", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetColor(GUIEditor.label[5], 0, 251, 255) GUIEditor.button[4] = guiCreateButton(411, 513, 29, 16, "EN", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFF0000") GUIEditor.button[5] = guiCreateButton(366, 513, 29, 16, "AR", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF2FFF00") showCursor(true) guiSetInputEnabled(true) end ) addEventHandler('onClientGUIClick',root, function () if ( source == GUIEditor.button[5] ) then guiSetText(GUIEditor.window[1],"[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]") guiSetText(GUIEditor.Label[2],"آســم آلــمــســتــخــدم") guiSetText(GUIEditor.Label[3],"كــلــمــة آلــمــرور") guiSetText(GUIEditor.button[2],"دخـول") guiSetText(GUIEditor.button[1],"تـسـجـيـل") guiSetText(GUIEditor.button[3],"زآئـر") elseif ( source == GUIEditor.button[4] ) then guiSetText(GUIEditor.window[1],"Welcome To Our Server AK-KSA") guiSetText(GUIEditor.Label[2],"Username") guiSetText(GUIEditor.Label[3],"Password") guiSetText(GUIEditor.button[2],"Login") guiSetText(GUIEditor.button[1],"Register") guiSetText(GUIEditor.button[3],"Guest") elseif ( source == GUIEditor.button[3] ) then guiSetVisible(GUIEditor.window[1],false) showCursor(false) guiSetInputEnabled(false) elseif ( source == GUIEditor.button[2] ) then triggerServerEvent("onlogin",localPlayer,guiGetText(user),guiGetText(pass)) elseif ( source == GUIEditor.button[1] ) then triggerServerEvent("onre",localPlayer,guiGetText(user),guiGetText(pass)) end end ) addEvent("setcol",true) addEventHandler("setcol",getRootElement(), function () guiSetVisible(GUIEditor.window[1],false) showCursor(false) guiSetInputEnabled(false) end )
-
سحر هو .. + شيء هو حاطة ؟ ماشفتة بكودهـ [= ممكن توريني او تقلي اي سطر ..
-
local x,y = guiGetScreenSize() ذا من وين طلع . . function() --Checking the datas for the right type----[[------------------------------------------------- --- المود صنع مستر الكارثه --- [email protected] --- الرجاء عدم نزع الحقوق --]]------------------------------------------------- outputChatBox("#1569c7* [ Login #ffffff/ #1569c7Register ] : By : #FF0000Mr~AL~#FFF000~Kartha",0,0,0,true) ---- الكلام الظاهر في الشات end مسوي فنكشن بدون اسم او معرف .. تتوقع وش فايدتة؟ المفروض تسوية كذا : outputChatBox("#1569c7* [ Login #ffffff/ #1569c7Register ] : By : #FF0000Mr~AL~#FFF000~Kartha",0,0,0,true) وخلصنآ!
-
Still doesn't work and there's no word pad log : MTADiag v2.7.8 by Towncivilian You have multiple versions of MTA installed. Please pick which version to diagnose: [3] 1.3 [4] 1.4 Enter version choice: 3 MTA install path: C:\Program Files (x86)\MTA San Andreas 1.3 MTA version: 1.3.3-9.05608.0.000 GTA install path: D:\GtaSa DirectX is up-to-date. Checking for missing GTA files, please wait... Checking 394 out of 394... MTADiag will now download the latest patch of MTA:SA. Downloaded: 100% Launching the installer... Run MTA once the installer has finished to see if it works now. If MTA works now, enter 'y' to quit MTADiag. If it doesn't, enter 'n' to continue diagnostics. n MTA version is now: 1.3.3-9.05608.0.000 Checking for modified or nonstandard GTA files, please wait... Checking 16 out of 394...Nonstandard GTA file: \audio\SFX\SCRIPT Checking 17 out of 394...Nonstandard GTA file: \audio\SFX\SPC_EA Checking 18 out of 394...Nonstandard GTA file: \audio\SFX\SPC_FA Checking 19 out of 394...Nonstandard GTA file: \audio\SFX\SPC_GA Checking 20 out of 394...Nonstandard GTA file: \audio\SFX\SPC_NA Checking 21 out of 394...Nonstandard GTA file: \audio\SFX\SPC_PA Checking 22 out of 394...Nonstandard GTA file: \audio\streams\AA Checking 23 out of 394...Nonstandard GTA file: \audio\streams\ADVERTS Checking 24 out of 394...Nonstandard GTA file: \audio\streams\AMBIENCE Checking 26 out of 394...Nonstandard GTA file: \audio\streams\CH Checking 27 out of 394...Nonstandard GTA file: \audio\streams\CO Checking 28 out of 394...Nonstandard GTA file: \audio\streams\CR Checking 29 out of 394...Nonstandard GTA file: \audio\streams\CUTSCENE Checking 30 out of 394...Nonstandard GTA file: \audio\streams\DS Checking 31 out of 394...Nonstandard GTA file: \audio\streams\HC Checking 32 out of 394...Nonstandard GTA file: \audio\streams\MH Checking 33 out of 394...Nonstandard GTA file: \audio\streams\MR Checking 34 out of 394...Nonstandard GTA file: \audio\streams\NJ Checking 35 out of 394...Nonstandard GTA file: \audio\streams\RE Checking 36 out of 394...Nonstandard GTA file: \audio\streams\RG Checking 37 out of 394...Nonstandard GTA file: \audio\streams\TK Checking 394 out of 394... Gathering information. Please wait... [==================================================] 100% Log file generated. Uploading to Pastebin... Pastebin link ([url=http://pastebin.mtasa.com/error]http://pastebin.mtasa.com/error[/url][No code2 specified]) copied to yo ur clipboard. Please include the Pastebin link in your forum post. Press any key to continue . . .
-
https://wiki.multitheftauto.com/wiki/CreateVehicle vehicle createVehicle ( int model, float x, float y, float z [, float rx, float ry, float rz, string numberplate, bool bDirection, int variant1, int variant2 ] ) rx: A floating point number representing the rotation about the X axis in degrees. ry: A floating point number representing the rotation about the Y axis in degrees. rz: A floating point number representing the rotation about the Z axis in degrees.
-
Not at all.
-
function onPlayerLogout ( playeraccount ) local playermoney = getPlayerMoney ( source ) local playerpoints = getElementData(source,"Points") local playertime = getElementData(source,"Playtime") local playerwins = getElementData(source,"Wins") local playerdeaths = getElementData(source,"Deaths") local playerhunters = getElementData(source,"Hunters") setAccountData ( playeraccount, "money", playermoney ) setAccountData ( playeraccount, "points", playerpoints ) setAccountData ( playeraccount, "playtime", playertime ) setAccountData ( playeraccount, "wins", playerwins ) setAccountData ( playeraccount, "deaths", playerdeaths ) setAccountData ( playeraccount, "hunters", playerhunters ) setPlayerMoney( source, 0 ) end function onPlayerLogin (_, playeraccount ) if ( playeraccount ) then local playermoney = getAccountData ( playeraccount, "money" ) local playerpoints = getAccountData ( playeraccount, "points" ) local playertime = getAccountData ( playeraccount, "playtime" ) local playerwins = getAccountData ( playeraccount, "wins" ) local playerdeaths = getAccountData ( playeraccount, "deaths" ) local playerhunters = getAccountData ( playeraccount, "hunters" ) setPlayerMoney ( source, playermoney or 0 ) setElementData(source,"Points",playerpoints or 0) setElementData(source,"Playtime",playertime or 0) setElementData(source,"Wins",playerwins or 0) setElementData(source,"Deaths",playerdeaths or 0) setElementData(source,"Hunters",playerhunters or 0) end end addEventHandler ( "onPlayerLogout", getRootElement ( ), onPlayerLogout ) addEventHandler ( "onPlayerLogin", getRootElement ( ), onPlayerLogin) Try this O_o !
-
setElementSpeed getElementSpeed [=
-
New crash ; Version = 1.3.3-release-5608.0.000 Time = Fri Jul 12 22:20:01 2013 Module = D:\GtaSa\gta_sa.exe Code = 0xC0000005 Offset = 0x000C8F24 EAX=702A25E0 EBX=008A7740 ECX=00000030 EDX=BD49062E ESI=3F03D70A EDI=00B3E164 EBP=00000120 ESP=0028F318 EIP=004C8F24 FLG=00210202 CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B When i join the server!
-
oldstat = ? Ups... At the first I wrote "oldstat" and "newstat", but then rewrote them to "old" and "new". Sorry my fault, it's supposed to be "old" (oldstat -> old). addEventHandler ( "onZombieWasted", root, function ( _, killer ) if ( killer and getElementType ( killer ) == "player" ) then local current = getPedStat ( killer, 75 ) setPedStat ( killer, 75, ( current + 100 ) ) end end ) addEvent ("onZombieWasted", true) the attacker is the first parameter!
-
function equi ( ) setPedStat ( source, 75, 500 ) end addEventHandler ( "onPlayerJoin", root, equi ) addEvent ( "onZombieWasted",true ) addEventHandler ( "onZombieWasted", root, function ( killer ) if ( killer and getElementType ( killer ) == "player" ) then local current = getPedStat ( killer, 75 ) setPedStat ( killer, 75, ( current + 100 ) ) end end )
-
Use : 'onZombieWasted' Event : addEvent addEventHandler
-
بس غير هالفنكشن
-
ياليت فية حدث ستارت ههه : https://wiki.multitheftauto.com/wiki/RestartResource