Jump to content

nowofresh

Members
  • Posts

    124
  • Joined

  • Last visited

Everything posted by nowofresh

  1. 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 ?
  2. 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 ?
  3. No, why ? Computer must calcule valvue.
  4. And... Can i make # addEventHandler ( "onClientGUIClick", buttonpl, # function ( ) # setElementData(source,"pl") # end # , false ) create function ( ) in event ?
  5. Why ? get player lang ----------------- generate text with lang who was got -----------------
  6. 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 ?
  7. U must use, "export function" in u'r meta file. This is it.
  8. nowofresh

    Streaming

    How Can i stream music to MTA: SA 1.1 ? ... :7188/listen.pls Can I stream use link like this ? Pls help.
  9. It is very good idea. I want add new custom objects, too !
  10. 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
  11. nowofresh

    No idea.

    What is better then setTimer() to show some pictures 1,2,3 before login ?
  12. nowofresh

    No idea.

    Hey, I want to create thing like that: Login => Player Center = if choose Play => Spawn I dont have any idea to do this .
  13. 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 ?
  14. Jak potrzebujesz pomocy gg:31416251 .
  15. 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
  16. I want to ask others: Is it - https://wiki.multitheftauto.com/wiki/CreateProjectile (rockets shooting) ?
  17. It is better and easiest to do, i think
  18. 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
  19. I can get u help. Wait.
  20. smokes and morest y. When it touch 'object' 'car' then == damage easy i think
×
×
  • Create New...