Jump to content

Sarrum

Scripting Moderators
  • Posts

    1,039
  • Joined

  • Days Won

    11

Everything posted by Sarrum

  1. https://wiki.multitheftauto.com/wiki/Anti-cheat_guide
  2. http://linux.multitheftauto.com/ Скачать, распаковать и заменить, я думаю линукс стоит)
  3. Client side: addCommandHandler ( 'matrix', function ( ) outputChatBox ( string.format ( 'Matrix: %s, %s, %s, %s, %s, %s, %s, %s', getCameraMatrix ( ) ), 255, 255, 255, true ) end ) Return camera position.
  4. Адрес бы форума хоть дал верный, хотя гугл мне помог найти Ваш сайт. А так, что-то не впечатлило.
  5. Sarrum

    [SOLVED] PHP SDK

    I tested, it works. maybe, try this: <?php include( "mta_sdk.php" ); $input = mta::getInput(); mta::doReturn($input[0] + $input[1]); ?>
  6. local sounds = { "http://www.mysound1.com/sound1", "http://www.mysound1.com/sound2" } addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) playSound ( sounds [ math.random ( 1, #sounds ) ] ) end )
  7. server: privatecar = createVehicle ( 409, 0, 0, 3 ) addEventHandler ( "onVehicleEnter", root, function ( player, seat, jacked ) if ( source == privatecar ) then if not ( getPlayerName ( player ) == "Torran" ) then removePedFromVehicle ( player ) end end end )
  8. Roller_Coaster_Generator
  9. 1) Для клонирования объектов подойдет: Roller_Coaster_Generator 2) Как вариант: client function jumpBind ( _, keyState ) local vehicle = getPedOccupiedVehicle ( localPlayer ) if isPedInVehicle ( localPlayer ) and getVehicleController ( vehicle ) == localPlayer then if ( keyState == "down" ) then local x, y, z = getElementVelocity ( vehicle ) setElementVelocity ( vehicle, x, y, z + 0.3 ) end end end bindKey ( "lshift", "both", jumpBind )
  10. addEvent( "Zomb_Moan", true ) function Zmoan ( ped, randnum ) if (isElement(ped)) then local Zx,Zy,Zz = getElementPosition( ped ) if ( randnum == 5 or randnum == 7 ) then return end local sound = playSound3D("sounds/mgroan"..randnum..".ogg", Zx, Zy, Zz, false) setSoundMaxDistance(sound, 20) end end addEventHandler( "Zomb_Moan", getRootElement(), Zmoan )
  11. Последнее обновление было больше года назад.
  12. AMX'ом бы лучше кто-то занялся...
  13. Kenix, отличный ремикс. Gotye Ft. Kimbra - Somebody That I Used To Know (Bastian Van Shield Remix) Calvin Harris Ft. Example - We'll Be Coming Back
  14. https://community.multitheftauto.com/ind ... ls&id=4209
×
×
  • Create New...