-
Posts
123 -
Joined
-
Last visited
Everything posted by Sektor
-
Эти шрифты должны легко делаются прогамми
-
txd = engineLoadTXD ( "player_2.txd" ) engineImportTXD ( txd,0 )
-
А вот вопрос, можно ли сменить ну для начала текстуру игроку (player) кто пробовал, у меня что-то не получается...
-
Программирование собственных плагинов.
Sektor replied to Sektor's topic in Помощь / Отчеты об ошибках
и вот еще касяк, поставил студию как они говорили 2008, а то (2010 не может его компилить) ну и пытался сорцы скомпилить и вот касяк: 1>------ Построение начато: проект: Client - Deathmatch, Конфигурация: Release Win32 ------ 1>Компоновка... 1>fatal error C1047: Файл объекта или библиотеки ".\Release\CClient.obj" был создан с более старой версией компилятора, чем другие объекты; выполните заново построение старых объектов и библиотек 1>LINK : fatal error LNK1257: не удалось создать код 1>Журнал построения был сохранен в "file://c:\Documents and Settings\BUILDER\Рабочий стол\Single_MTA-SA_Source\MTA10\mods\deathmatch\Release\BuildLog.htm" 1>Client - Deathmatch - ошибок 1, предупреждений 0 ========== Построение: успешно: 0, с ошибками: 1, без изменений: 0, пропущено: 0 ========== -
Программирование собственных плагинов.
Sektor replied to Sektor's topic in Помощь / Отчеты об ошибках
я имел введу полностью новое вооружение добавить со своими характеристиками, разве можно в скрипте? Я вот например не видел как изменить точность у оружия... -
Программирование собственных плагинов.
Sektor replied to Sektor's topic in Помощь / Отчеты об ошибках
Хочу исправить баг с бегом.. А также новое оружие внедрить -
Есть краткая информация по созданию плагинов на C++?
-
Ok. may be in the future, Source Code MTA moved to Visual Studio 2010?
-
Please help me! Uploaded with ImageShack.us debug mode in compiles well. release mode in not compiled! What's wrong?
-
Error 3 error C1047: The object or library file '../../../vendor/libspeex\libspeex.lib' was created with an older compiler than other objects; rebuild old objects and libraries C:\Documents and Settings\BUILDER\Рабочий стол\trunk\MTA10\mods\deathmatch\LINK Error 4 error LNK1257: code generation failed C:\Documents and Settings\BUILDER\Рабочий стол\trunk\MTA10\mods\deathmatch\LINK do not know where the library to take.
-
Абсолютно точно. Дурацкая и бессмысленная текстура, только садит производительность...
-
Error 3 error LNK1104: cannot open file 'lua5.1d.lib' C:\Documents and Settings\BUILDER\Рабочий стол\MTA_Source_Code\branches\1.1.1\MTA10\mods\deathmatch\LINK ???
-
не очень GTA-IV, вообще быстро надоела...
-
function PlayerClotnesOff(source) removePedClothes (source, 16 ) -- remove the helmet removePedClothes (source, 15 ) -- remove the helmet removePedClothes (source, 14 ) -- remove the helmet removePedClothes (source, 13 ) -- remove the helmet removePedClothes (source, 12 ) -- remove the helmet removePedClothes (source, 11 ) -- remove the helmet removePedClothes (source, 10 ) -- remove the helmet removePedClothes (source, 9 ) -- remove the helmet removePedClothes (source, 8 ) -- remove the helmet removePedClothes (source, 7 ) -- remove the helmet removePedClothes (source, 6 ) -- remove the helmet removePedClothes (source, 5 ) -- remove the helmet removePedClothes (source, 4 ) -- remove the helmet removePedClothes (source, 3 ) -- remove the helmet removePedClothes (source, 2 ) -- remove the helmet removePedClothes (source, 1 ) -- remove the helmet removePedClothes (source, 0 ) -- remove the helmet end addEventHandler("onResourceStart", resourceRoot, function() resetMapInfo() end ) function spawn(player) setPedStat(player, 24, 250) setPedStat(player, 21, 0.0) setPedStat(player, 22, 0.0) setPedStat(player, 23, 0.0) setPedStat(player, 27, 0.0) setPedStat(player, 165, 10) setPedChoking(player, false) spawnPlayer(player, 0.0, 0.0, 0.0, 90.0, 0) fadeCamera(player, true) setCameraTarget(player, player) showChat(player, true) setElementPosition(player, 2316.1623, 49.6955, 26.482) --put v bomjatnik --setElementModel(player, 0) setElementFrozen(player, false) addPedClothes (player, "moto", "moto", 16 ) PlayerClotnesOff(player) createBlipAttachedTo ( player, 52 ) local blip = createBlip (100.0, -500.0, 17.0, 0, 4, 255, 125, 0, 255, 0, 1000.0) end addEventHandler("onPlayerJoin", root, function() spawn(source) end ) addEventHandler("onPlayerWasted", root, function() setTimer(spawn, 1800, 1, source) end ) the code.
-
setPedStat(player, 22, 10) 22: STAMINA does not work!
-
а вот вопрос почему игрок не запыхивается? setPedStat(player, 22, 0.0)
-
Я всего лишь два дня только знаком с MTA, но глянув исходные коды на C++, я увидел там изюминки...
-
Это вы просто не понимаете, и говорите что 15 лет, я уже 3 года программел на 3 языках, ассемблер, C++, Delphi. я же глянул что тут можно замутить тему... И хвалю, и говорю круто!!! Это вы может быть не получаете духовного удовлетворения, от своих модов... А я получаю. Да я ушел из сампа.
-
угу тупанул. Теперь все работает.
-
кстати по поводу иконок. можно ли свои использовать на радаре?
-
я разобрался, надо было client и у скрипта писать заместо server
-
function create2DLine ( ) rootElement = getRootElement() x,y = guiGetScreenSize() -- Get players resolution. dxDrawLine ( x/2, y/2-200, x/2, y/2-170, tocolor ( 0, 255, 0, 255 ), 1 ) -- Draw vertical crosshair line. dxDrawLine ( x/2-20, y/2-185, x/2+20, y/2-185, tocolor ( 0, 255, 0, 255 ), 1 ) -- Draw horizontal crosshair line. end function HandleTheRendering() addEventHandler("onClientRender",rootElement, create2DLine) -- Keep the line visible with onClientRender. end addEventHandler("onClientResourceStart",resourceRoot, HandleTheRendering) не выводит!!!
-
но все таки их в википедии более 1000 описано, хотя я не могу вывести 2d линию...
-
а что тут не так?