Jump to content

karlis

Members
  • Posts

    1,314
  • Joined

  • Last visited

Everything posted by karlis

  1. karlis

    New resources

    mta moved away from googlecode, use https://nightly.multitheftauto.com/
  2. And then what? There's nothing like setPedTask to set tasks. d'oh
  3. add it as resource with proper meta, and write mmove x y z objects but i dont see need for that trigger at line 10
  4. press f, then find icon with name "interiors", and click on it, and click on "go", thats all
  5. karlis

    Water Color

    yes , insert type="client"
  6. theres another problem to trigger explosion..
  7. showPlayerHudComponent(player,"money",true)
  8. when offsets of old and new(captured with some delay between them) x,y,z dont drastically change anymore(i hope you got what i mean)
  9. karlis

    Water Color

    include client.lua clientside script and do red,green,blue,alpha=0,0,0,0 addEventHandler("onClientResourceStart",getResourceRootElement(),function() setWaterColor(red,green,blue,alpha) end)
  10. this script doesnt change anything
  11. nah too small time, ~20secs would be enough, but the best would to have settings in meta to change this. but nice
  12. same with me, but none of friends want go to mta, all says "its too hard to use" or "with small posibilities"(i lol'd, and i bet they saw old mta race only)
  13. karlis

    [Help]Levels

    you need login first, and make sure your account already got such data try function onPlayerLogin ( thePreviousAccount, theCurrentAccount, autoLogin ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) and not isGuestAccount(playeraccount) then local playerScore = getAccountData ( playeraccount, "exp.lvl" ) if ( playerScore ) then setElementData(source,"kills",playerScore) else setAccountData ( playeraccount, "exp.lvl",1 ) setElementData(source,"kills",1) end end end and try put tonumber() to all getElementData and accountdata results
  14. i have it, but i think how to export those images, i kinda experted them to zmod, but they didnt appear
  15. karlis

    Lagging help

    worked for 1pc, didnt for other please reupload it
  16. due the fact theres coming up much resources what is just made by wiki with no updates/sense, i think someone should make wiki script pack, and future uploading complete code from wiki would be disalowed few examples: sh*tload of carmods https://community.multitheftauto.com/index.php?p= ... ils&id=664 https://community.multitheftauto.com/index.php?p= ... ils&id=320
  17. sory for hilarius delay, but i think bumping future suggestions tread isnt so bad, to blas95:i mean gradient of dx rectange, not animation recolor
  18. 1)except select>all/none/invert none of selection tools work, please say some suggestions for solving it(selection mode button didnt help) 2)when i import.dff file it shows that textures arent found, so how i can manage to import texture images in zmodleler to remap them later? sory if questions are noobish, im totally newbie in 3d modeling PS:feel fee to moving it, im lost where to put it by applying rules
  19. karlis

    Lagging help

    could you fix last link please? btw i have few cleo mods, will that last thing overwrite cleo?
  20. karlis

    [Help]Levels

    killlevels={2=2,3=3,5=3,10=5,15=6,20=7,25=8,50=9} function rank( _, killer ) local kills = getElementData( killer, "kills") setElementData(killer,"kills",kills+1) if killlevels[kills+1]~=nil then outputChatBox(""..killer.." Level Up! now you´re LvL "..killlevels[kills+1].."!", killer) end end function onPlayerQuit ( quitType, reason, responsibleElement,thePreviousAccount ) local playerScore = getElementData( source, "deaths") local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then setAccountData ( playeraccount, "exp.lvl", playerScore ) end end function onPlayerLogin ( thePreviousAccount, theCurrentAccount, autoLogin ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local playerScore = getAccountData ( playeraccount, "exp.lvl" ) if ( playerScore ) then setElementData(source,"kills",playerScore) end end end addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit ) addEventHandler ("onPlayerLogin", getRootElement(), onPlayerLogin) addEventHandler ( "onPlayerWasted", getRootElement(), rank )
×
×
  • Create New...