Jump to content

!مساعده ^^ لو سمحتو


iiv03

Recommended Posts

:Pسلام شباب هذا مود مب من صنعي بس عدلت فيه شويات بس المشكله حاولت احله مالقيت له حل كل مره احط كود ب مود يخرب وانا جالس 7 ساعات شفت ويكي مانفع لو سمحتو تكفون صحوحلي خطأ شكرا

المشكله اني لما لاعب يدخل يضغط علي الزر يختار سكن انفرس يجيه الكل لاعبين سكن يعني لوكال او local

 وانا بديه سورس source:-)

:!:هي بسيط بس

يعني يختار سكن ويجي علي نفسه بس مايجي معا عيال.:mrgreen:

Infernuspanel = {
    button = {},
    window = {},
    label = {}
}











--320, 106, 642, 491


function panelwindow ()
	local sx, sy = guiGetScreenSize( )
        Infernuspanel.window[1]= guiCreateWindow(sx*( 320/1280 ), sy*( 106/720 ), sx*( 642/1280 ), sy*( 491/720 ), "", false)
		guiWindowSetSizable(Infernuspanel.window[1], false)
		guiSetAlpha(Infernuspanel.window[1], 0.00)
        Infernuspanel.button[1] = guiCreateButton(sx*( 60/1280 ), sy*( 128/720 ), sx*( 99/1280 ), sy*( 40/720 ), "", false, Infernuspanel.window[1])
        guiSetAlpha(Infernuspanel.button[1], 0.00)
        Infernuspanel.button[2] = guiCreateButton(sx*( 60/1280 ), sy*( 289/720 ), sx*( 99/1280 ), sy*( 40/720 ), "", false, Infernuspanel.window[1])
        guiSetAlpha(Infernuspanel.button[2], 0.00)
        Infernuspanel.button[3] = guiCreateButton(sx*( 60/1280 ), sy*( 441/720 ), sx*( 99/1280 ), sy*( 40/720 ), "", false, Infernuspanel.window[1])
        guiSetAlpha(Infernuspanel.button[3], 0.00)
        Infernuspanel.button[6] = guiCreateButton(sx*( 470/1280 ), sy*( 441/720 ), sx*( 99/1280 ), sy*( 40/720 ), "", false, Infernuspanel.window[1])
        guiSetAlpha(Infernuspanel.button[6], 0.00)
        Infernuspanel.button[5] = guiCreateButton(sx*( 470/1280 ), sy*( 289/720 ), sx*( 99/1280 ), sy*( 40/720 ), "", false, Infernuspanel.window[1])
        guiSetAlpha(Infernuspanel.button[5], 0.00)
        Infernuspanel.button[4] = guiCreateButton(sx*( 470/1280 ), sy*( 128/720 ), sx*( 99/1280 ), sy*( 40/720 ), "", false, Infernuspanel.window[1]) 
        guiSetAlpha(Infernuspanel.button[4], 0.00)		
addEventHandler("onClientGUIClick", Infernuspanel.button[1], infi1, false)
addEventHandler("onClientGUIClick", Infernuspanel.button[6], infi2, false)
addEventHandler("onClientGUIClick", Infernuspanel.button[3], infi3, false)
addEventHandler("onClientGUIClick", Infernuspanel.button[4], infi4, false)
addEventHandler("onClientGUIClick", Infernuspanel.button[5], infi5, false)
addEventHandler("onClientGUIClick", Infernuspanel.button[2], infi6, false)
end


-- Show Window
local value = false

function visible ()
if value == false then
	panelwindow()
	value = true
	showCursor(true)
	elseif value == true then
	showCursor(false)
	guiSetVisible(Infernuspanel.window[1],false)
	value = false
	end
end
bindKey("F3","down", visible)

-- Load Infernus

local msg_red, msg_green, msg_blue = 0, 255, 0

function infi1 ()
		InfiTexture = engineLoadTXD ( "InfiMod/infernus1.txd" )
		engineImportTXD ( InfiTexture, 411 )
		InfiModel = engineLoadDFF ( "InfiMod/infernus1.dff", 411 )
		engineReplaceModel ( InfiModel, 411 )
		outputChatBox("Infernus1 Yüklendi.", theplayer, msg_red, msg_green, msg_blue, true)
end

function infi2 ()
		InfiTexture = engineLoadTXD ( "InfiMod/infernus2.txd" )
		engineImportTXD ( InfiTexture, 411 )
		InfiModel = engineLoadDFF ( "InfiMod/infernus2.dff", 411 )
		engineReplaceModel ( InfiModel, 411 )
		outputChatBox("Infernus2 Yüklendi.", theplayer, msg_red, msg_green, msg_blue, true)
		engineApplyShaderToWorldTexture(shader, "vehiclegrunge256",arac)
end

function infi3 ()
		InfiTexture = engineLoadTXD ( "InfiMod/infernus3.txd" )
		engineImportTXD ( InfiTexture, 411 )
		InfiModel = engineLoadDFF ( "InfiMod/infernus3.dff", 411 )
		engineReplaceModel ( InfiModel, 411 )
		outputChatBox("Infernus3 Yüklendi.", theplayer, msg_red, msg_green, msg_blue, true)
end

function infi4 ()
		InfiTexture = engineLoadTXD ( "InfiMod/infernus4.txd" )
		engineImportTXD ( InfiTexture, 411 )
		InfiModel = engineLoadDFF ( "InfiMod/infernus4.dff", 411 )
		engineReplaceModel ( InfiModel, 411 )
		outputChatBox("Infernus4 Yüklendi.", theplayer, msg_red, msg_green, msg_blue, true)
end

function infi5 ()
		InfiTexture = engineLoadTXD ( "InfiMod/infernus5.txd" )
		engineImportTXD ( InfiTexture, 411 )
		InfiModel = engineLoadDFF ( "InfiMod/infernus5.dff", 411 )
		engineReplaceModel ( InfiModel, 411 )
		outputChatBox("Infernus5 Yüklendi.", theplayer, msg_red, msg_green, msg_blue, true)
end

function infi6 ()
		InfiTexture = engineLoadTXD ( "InfiMod/infernus6.txd" )
		engineImportTXD ( InfiTexture, 411 )
		InfiModel = engineLoadDFF ( "InfiMod/infernus6.dff", 411 )
		engineReplaceModel ( InfiModel, 411 )
		outputChatBox("Infernus5 Yüklendi.", theplayer, msg_red, msg_green, msg_blue, true)
end

 

Edited by liwahadri
Link to comment

;D شف اليوتيوب أكتب بس مود الشخصيات يجيك مليون مود ..

تسرق أكواد مراح تفيدك صح كانت ذي اول برمجية عندنا نزرف ...."

حاول انك ما تسرق ويوم تلقا خطأ أكتب في اف 8 debugscript 3

وصحح "]: ..

- لو ما عرفت ما يقصصرو معك آلعيآل..

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...