-
Posts
10,056 -
Joined
-
Last visited
-
Days Won
27
Everything posted by iPrestege
-
use : getPlayerFromName to get Players name on the server .
-
ظاهر عندي ..#
-
You forgot the string here "reason" . function kickplay () if ( hasObjectPermissionTo ( source, "function.kickPlayer" ) ) then kickPlayer ( source, source, "reason" ) end end addEvent ( "kickplayer", true ) addEventHandler ( "kickplayer", root, kickplay )
-
يابن الحلال جربة هههـ بتشتغل اول مايدخل
-
جرب ذا : GUIEditor_Window = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(0,0.0013,1,1,"",true) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_Image[1] = guiCreateStaticImage(121,188,297,302,"s/tarkep.png",false,GUIEditor_Window[1]) GUIEditor_Image[2] = guiCreateStaticImage(577,188,335,304,"s/tarkep.png",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(732,513,275,72,"الحرب",false,GUIEditor_Window[1]) guiSetAlpha(GUIEditor_Label[1],1) guiLabelSetColor(GUIEditor_Label[1],255,65,170) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Label[2] = guiCreateLabel(243,521,379,79,"الهجولة",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[2],36,76,255) guiSetFont(GUIEditor_Label[2],"default-bold-small") ----------------------------------------- addEventHandler("onClientResourceStart", resourceRoot, function () showCursor(true) end ) addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor_Image[1] ) then triggerServerEvent("onClick",localPlayer) guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor ( false ) guiSetInputEnabled( false ) end if ( source == GUIEditor_Image[2] ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor ( false ) guiSetInputEnabled( false ) triggerServerEvent("onClick1",localPlayer) end end )
-
debugscript 3
-
http://www.mediafire.com/?gvslp6kivtpnmvl ذذ النسخة انجليزية ~_~ لا تحملها ~_~ النسخة ذي حملها : http://www.mediafire.com/?bu829d695xu8q9y
-
GUIEditor_Window = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(0,0.0013,1,1,"",true) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_Image[1] = guiCreateStaticImage(121,188,297,302,"s/tarkep.png",false,GUIEditor_Window[1]) GUIEditor_Image[2] = guiCreateStaticImage(577,188,335,304,"s/tarkep.png",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(732,513,275,72,"الحرب",false,GUIEditor_Window[1]) guiSetAlpha(GUIEditor_Label[1],1) guiLabelSetColor(GUIEditor_Label[1],255,65,170) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Label[2] = guiCreateLabel(243,521,379,79,"الهجولة",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[2],36,76,255) guiSetFont(GUIEditor_Label[2],"default-bold-small") addEventHandler("onClientPlayerJoin", resourceRoot, function () showCursor (true) end ) addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor_Image[1] ) then triggerServerEvent("onClick",localPlayer) guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor ( false ) guiSetInputEnabled( false ) end if ( source == GUIEditor_Image[2] ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor ( false ) guiSetInputEnabled( false ) triggerServerEvent("onClick1",localPlayer) end end )
-
GUIEditor_Window = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(0,0.0013,1,1,"",true) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_Image[1] = guiCreateStaticImage(121,188,297,302,"s/tarkep.png",false,GUIEditor_Window[1]) GUIEditor_Image[2] = guiCreateStaticImage(577,188,335,304,"s/tarkep.png",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(732,513,275,72,"الحرب",false,GUIEditor_Window[1]) guiSetAlpha(GUIEditor_Label[1],1) guiLabelSetColor(GUIEditor_Label[1],255,65,170) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Label[2] = guiCreateLabel(243,521,379,79,"الهجولة",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[2],36,76,255) guiSetFont(GUIEditor_Label[2],"default-bold-small") ----------------------------------------- showCursor ( true ) addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor_Image[1] ) then triggerServerEvent("onClick",localPlayer) guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor ( false ) guiSetInputEnabled( false ) end if ( source == GUIEditor_Image[2] ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor ( false ) guiSetInputEnabled( false ) triggerServerEvent("onClick1",localPlayer) end end ) اطلع وادخل
-
آهآ ذذ ~ مانتبهت انة سلاحح
-
اطرح المود واسوية لك ذذ الكلنت اللوحة و وين الزر اللي تبية يغلق اللوحة ذذ
-
@jafar وانت كيف عرفت الاي دي
-
انت لا تخفي اللوحة خلها ظاهرهـ وسوي اظهار للمؤشر وبسس ! ويوم يضغط الزر يسوي اخفاء لة اظهار كذا : showCursor (true)
-
Client Only onPlayerJoin ??
-
مشكورر اشتغل You're Welcome .
-
Hi all, Today I finished my script (Messenger system) Authors: 1- MR.S3D 2- Mr.Pres[T]ege Script | Features / - You can create your own account - You can add a contact - You can delete a contact - You can send icons in Conversation - And much much more - You can download the script and see the script better Script | Defects / - You can not communicate, but who are in the same server Some images / Download / https://community.multitheftauto.com/index.php?p=resources&s=details&id=6525 ------------------------------ If you want to add anything in the script, you can modify it and please do not remove the rights and script unencrypted Have Fun Mr.Pres[T]ege and MR.S3D
-
addEventHandler( "onPlayerWasted", root, function() local accName = getAccountName (getPlayerAccount(source)) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then spawnPlayer ( source, x,y,z, 0, skin, 0, 0 ) elseif isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then spawnPlayer ( source, x,y,z, 0, skin, 0, 0 ) end end )
-
منورين .. وبالتوفيق سعد
-
I forgot this Sorry I've modified it now.
-
addEventHandler("onPlayerChat",root, function (msg,ped) if ( msg == "anim" ) then setPedAnimation(ped,nil,nil,nil) end end )
-
-- Server Side checkModels = { "rifle.ifp", "hmybe.dff", "hmybe.txd", "bmybe.dff", "bmybe.txd", "proc_int.col", "fight_e.ifp", "a51.txd", "a51_ext.txd", "a51_labs.txd", "carimpound_sfe.txd", "ce_farmxref.txd", "copshop_sfe.txd", "crack_intkb.txd", "crackfact_sfse.txd", "crackfactdem_sfs.txd", "freight_sfe.txd", "frieghter2sfe.txd", "lanpolicecp.txd", "lanriver.txd", "vgndwntwn1.txd", "bakery_sfse.txd", "bakerybit_sfse.txd", "bigshed_sfse.txd", "factory_sfse.txd", "factorynewsfse.txd", "genwhse_sfse.txd", "vgsswarehse01.txd", "vgsswarehse02b.txd", "vgsswrehse03.txd", } function handleOnPlayerModInfo( filename, modList ) for _, mod in ipairs( modList ) do for _, checkName in ipairs( checkModels ) do if mod.name == checkName then kickPlayer( source ) end end end end addEventHandler ( "onPlayerModInfo", getRootElement(), handleOnPlayerModInfo )