 
        nowofresh
Members- 
                Posts124
- 
                Joined
- 
                Last visited
Everything posted by nowofresh
- 
	Can u help me and tell me about, • for k,v in pairs • ipairs I was reading tutorials and I cant connect it with mta Can u get me examples lua + Mta ?
- 
	Hey, I saw, some time before resource who has cfg X,Y,Z weapons when they lay on the ground. Do u know ? I was trying find and i cant. Do u know this resource ?
- 
	No, why ? Computer must calcule valvue.
- 
	And... Can i make # addEventHandler ( "onClientGUIClick", buttonpl, # function ( ) # setElementData(source,"pl") # end # , false ) create function ( ) in event ?
- 
	Why ? get player lang ----------------- generate text with lang who was got -----------------
- 
	function displaylogo( ) local xs,ys=guiGetScreenSize() guiCreateStaticImage( 0, 0, xs, ys, "engine_player/img/pic/pokazlogo.png", false ) setTimer ( przyciski, 50, 1 ) end addEventHandler( "onClientResourceStart", getResourceRootElement( getThisResource() ), displaylogo ) function lang ( ) pol = { [1]="Witaj",[2]="Nazwa" } ang = { [1]="Y're welcome",[2]="Username" } ger = {} end function przyciski ( ) dxDrawRectangle(354.0,351.0,343.0,145.0,tocolor(0,255,255,150),false) buttonpl = guiCreateButton( 354.0,351.0,343.0,145.0, "Polski", true ) buttoneng = guiCreateButton( 354.0,351.0,343.0,145.0, "English", true ) buttonger = guiCreateButton( 354.0,351.0,343.0,145.0, "Germany", true ) end addEventHandler ( "onClientGUIClick", buttonpl, function ( ) setElementData(source,"pl") end , false ) addEventHandler ( "onClientGUIClick", buttonang, function ( ) setElementData(source,"ang") end , false ) addEventHandler ( "onClientGUIClick", buttonger, function ( ) setElementData(source,"ger") end , false ) function dalej ( ) fadeCamera(true) setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) dxDrawRectangle(354.0,351.0,343.0,145.0,tocolor(0,255,255,150),false) getElementData(source,jezyk) if jezyk == "pl" then setElementData(source,haspl) end if jezyk == "ang" then setElementData(source,hasang) end if jezyk == "ger" then setElementData(source,gasger) end end addEventHandler("onClientResourceStart", getResourceRootElement( getThisResource() ), startcamera) function okno ( ) dxDrawText ( function ( ) getElementData(source,wybrany) if wybrany == "haspl" then pol[1] end end , x/3.6, y/3, x, y, tocolor ( 255, 255, 255, 255 ), 1, "clear" ) end What is a bad ?
- 
	U must use, "export function" in u'r meta file. This is it.
- 
	It is very good idea. I want add new custom objects, too !
- 
	Hey, I want to create GUI system. GUI system, resource. [..] guiCreateLabel ( 500, 500, w, h, "text", true ) [..] Kill information, resource Some code... I type here "You were killed" and GUI system generatre width and height my label by width and height text and add 5 x and 5 y+ change "text" to "You were killed" and show it on 500,500. I dont have any idea
- 
	Can I create new ID for skin ? for example. 999 Can I get TXD skin for this (new) ID ? Is this skin will be gameplaly ?
- 
	Jak potrzebujesz pomocy gg:31416251 .
- 
	Hey, gays. I search a #2 scripter MTA&LUA to CO-OP with me. I write gamemode (TOP SECRET ). My MTA and LUA are good and i want 2# scripter because i have too work. U can contact with me by MSN nowo fresh
- 
	I want to ask others: Is it - https://wiki.multitheftauto.com/wiki/CreateProjectile (rockets shooting) ?
- 
	It is better and easiest to do, i think
- 
	Hmm I think. Use:https://community.multitheftauto.com/index.php?p=resources&s=details&id=1292 or https://wiki.multitheftauto.com/wiki/Cli ... _functions Create about. 8 object in 1 line, change y position. It must be function. Create way for function from (1) X,Y,Z to (2) X,Y,Z Create Collision shape with cars players, when collision then for example. health-400 etc. When moved to (2) then X+100,Y,Z etc. i THINK I dont have time to do it
- 
	smokes and morest y. When it touch 'object' 'car' then == damage easy i think
