Jump to content

DakiLLa

Members
  • Posts

    965
  • Joined

  • Last visited

Everything posted by DakiLLa

  1. Show me, how? getPedBonePosition inside in onClientPreRender? Huh, no, this will sux so much since MTA can't handle bone angles. I remember someone (Kayl?) was trying to get this thing work but eh.. didn't finish it?
  2. Try "vehicle_fire" instead of "vehicle_primary_fire".
  3. оо, имагес уже и тут появился з.ы.: с прошедшим...
  4. DakiLLa

    please help

    Following by the "if the team "survivors"has run out of players": g_Root = getRootElement() function mapstart() if countPlayersInTeam( teamSurvivor ) == 0 then Endgame(teamzombie, true) end end addEventHandler ( "onGamemodeMapStart", g_Root, mapstart ) uh?
  5. I don't see you are sending a client player's name in triggerServerEvent, so your 'warpIntoCar' function gets no any parameters. How to fix: function sultan() triggerServerEvent( "spawnSultan", getLocalPlayer(),getPlayerName( getLocalPlayer() ) ) end
  6. As you executed a client side function, then givePlayerMoney has only one argument (amount, check wiki) crun givePlayerMoney( math.random( 1, 1000 ) ) is right
  7. DakiLLa

    Kill System

    SolidSnake14, the first argument in onPlayerWasted event function is ammo, apparently you forgot this :b function onWasted(ammo,killer) if getElementType(killer) == "player" and killer ~= source then outputChatBox(getPlayerName(killer).. " killed ".. getPlayerName(source) .."!",getRootElement(),255,0,0) end end addEventHandler("onPlayerWasted",getRootElement(),onWasted)
  8. Something like: addEventHandler( "onPlayerLogin", root, function( _, acc ) if getAccountName( acc ) == "FatBoy" then local veh = getPedOccupiedVehicle( source ); if veh then setVehicleColor( veh, 86, 86, 0, 0 ); end; end; end );
  9. DakiLLa

    Win trouble

    Look at the first code: syntax highlighter is totally messed up because you forgot to put ", in 4th line after 'points' word.
  10. Tell him to add your server in the favorites list. That should help. I had same problem, everyone could not connect to my server.
  11. Hi. Well, I don't know it this is right section for that question but I couldn't find anything better. I use dxDrawImage to draw an image on the screen but it drawing it with some artefacts. Screen below: -broken image link removed at the request of OP- Noticed that line inside a red border? That's the question, how to get rid of this line. Anyone? Thx.
  12. https://community.multitheftauto.com/index.php?p= ... ls&id=1344
  13. https://community.multitheftauto.com/index.php?p= ... ls&id=1337
  14. Great idea, some sort of advertising your channel or even uploading a video tutorials for your server. Also can be used to play a music (another way of streaming sound, eh?).
  15. As for me, I just bound /debugscript 3 to a key and use it everytime I join the server..
  16. https://community.multitheftauto.com/index.php?p= ... ls&id=1311 He couldn't even edit a meta.xml delete this crap..
  17. Which one? I think you have not added your resource to ACL.xml, so it doesnt have an access to add new accounts.
  18. Hello, I'd really appriciate, if someone of admins/moderators could change my forum nickname to DakiLLa. Thank you.
  19. LOL! Looks like almost same as interior bug, when you alt+tabbing from the game. Yea, the streched yellow fish should be a good replacement for Multi Theft Auto logo
×
×
  • Create New...