Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/01/17 in all areas

  1. Yeah, and thats ruined my race scoreboard script in which points were attached to player's serial. I hardly expected that two or more players could have common serial. And here they are DNA - only way to be confident. local DNA = getPlayerDNA(thePlayer) someTable[DNA] = someUselessData
    1 point
  2. this the first time i hear that
    1 point
  3. @KulakovD, а что setPedAnimation не перевели? Ошибка указывает, что последний аргумент, получил не тот тип переменной. А что написали вы, из-за переводчика плохо понятно.
    1 point
  4. 1 point
  5. Oh, right, forgot getCursorPosition returns a relative vector instead. This should do it: local screenWidth, screenHeight = guiGetScreenSize( ) function drawCursor( ) if ( isCursorShowing( ) ) then local cursorX, cursorY = getCursorPosition( ) dxDrawImage( cursorX * screenWidth, cursorY * screenHeight, 41, 41, 'images/cursor.png' ) end end addEventHandler( "onClientRender", root, drawCursor ) showCursor( true ) setCursorAlpha( 0 )
    1 point
  6. 1 point
  7. رائع الاخوي كركر، اسف على تأخير الرد ولاكن معي ظروف الفكرة رائعة اهنيك، استمر في ابداعك *wink*
    1 point
  8. You can use this http://www.convertffs.com/ Choose MTA Race Object and MTA Race Spawnpoint, and then convert to MTA 1.0 Object and MTA 1.0 Vehicle.
    1 point
  9. @koragg's code omits a necessary 'end' between the lines 19 and 20. The correct version, plus additional functionality to bind the key to people already connected (not those who join after the resource is running) -- Bind the key here for every player as soon as he joins your server. function bindKeys() bindKey(source, "j", "down", "jp") -- bind key to command 'jp' so that the bind can be changed in MTA settings > binds end addEventHandler("onPlayerJoin", root, bindKeys) -- Bind the key here for every player already connected to your server. for k, v in ipairs(getElementsByType("player")) do -- loop through already connected players bindKey(v, "j", "down", "jp") -- bind key to command 'jp' end
    1 point
  10. You just could have opened admin panel --> resources --> freeroam --> double click to show options and 'showmaponstart' false and 'showmapondeath' false You can also set there; welcome message false, disallowed weapon and vehicle ids, setting time and gravity false, etc..
    1 point
  11. hi all and MERRY CHRISTMASSSSSSSSSSSSS<33333 Please share + like thanks! no hatting pls, its my first video:0
    1 point
×
×
  • Create New...