-
Posts
4,121 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Kenix
-
1) use big objects for replace function startObj() txd = engineLoadTXD ( "kugel.txd" ) engineImportTXD ( txd, 7451 ) col = engineLoadCOL ( "kugel.col" ) dff = engineLoadDFF ( "kugel.dff", 0 ) engineReplaceCOL ( col, 7451) engineReplaceModel ( dff, 7451 ) engineSetModelLODDistance(7451, 2000) end setTimer ( startObj, 1000, 1) 2) your txd not open G-TXD and TXD workshop maybe you did not add texture, use the program: G-TXD and TXD workshop
-
try this: function startObj() txd = engineLoadTXD ( "kugel.txd" ) engineImportTXD ( txd, 3504 ) col = engineLoadCOL ( "kugel.col" ) dff = engineLoadDFF ( "kugel.dff", 0 ) engineReplaceCOL ( col, 3504) engineReplaceModel ( dff, 3504 ) engineSetModelLODDistance(3504, 2000) end setTimer ( startObj, 1000, 1)
-
show your script is complete
-
the problem is not in the script and dff or col me a lesson the correct convert from 3dmax => gtasa => mta translate this http://gtamaps.net/forum/index.php?showtopic=8083 and read This WORKING and all lessons and tutorials http://gtamaps.net/forum/index.php?showforum=40
-
try this function timers() setTimer ( playerinfo2, 50, 0) end addCommandHandler ("explosions", timers) function playerinfo2() local vehicle = getPedOccupiedVehicle (getLocalPlayer()) local x, y, z = getElementPosition ( vehicle ) if ( getElementVelocity(vehicle) >= 100 ) then createExplosion ( x, y, z-4, 12 ) else end end and translate this http://www.lua.ru/doc/2.5.2.html and read
-
script does not work I need to get a place the cursor if it matches then write in chat. function startGetPositionSkills() local showing = isCursorShowing () if showing then -- if the cursor is showing local screenx, screeny = getCursorPosition" class="kw4">getCursorPosition() if ( screenx == 0.3077 ) and ( screeny == 0.5103 ) then outputChatBox("1") elseif ( screenx == 0.4342 ) and ( screeny == 0.5103 ) then outputChatBox("2") elseif ( screenx == 0.5558 ) and ( screeny == 0.5103 ) then outputChatBox("3") elseif ( screenx == 0.6948 ) and ( screeny == 0.5103 ) then outputChatBox("4") elseif ( screenx == 0.8263 ) and ( screeny == 0.5103 ) then outputChatBox("5") end end end
-
you want to encrypt stored data?
-
your code also helped + helped me and corrected this problem) 400 post
-
у функции dxDrawов нет relative почему бы её не добавить у гуи есть же
-
cool man
-
Для новичков очень полезно будет, молодец!
-
it has not helped but I solved the problem thanks
-
http://www.getzilla.net/files/576190/te ... u.zip.html скрины выкладывать не буду времени нету. эта тема пак там всё изменено главное меню,иконки на радаре и пр. http://www.getzilla.net/files/487215/te ... a.rar.html
-
цвет поменять это довольно просто а всё остальное включая курсор пробывал?) у меня есть свои скины могу выложить если кому надо.
-
i found this http://steps3d.narod.ru/tutorials/lua-tutorial.html - translate this http://www.ozone3d.net/tutorials/lua_coding.php http://www.ac-web.org/forums/showthread.php?t=70966
-
you mean this? setElementData(source,"Experience",tonumber(getElementData(source,"Experience"))+1)
-
I am also very fond of stealth, bomb da base, zombie mod 100%, and most beloved Mta's World funniest server. were good times but now on these servers, or nobody at all or their net.No I want to return one zombie mod that was when he was a very good right now than anyone wants to help me see the topic: or write to Private Message.
-
для кого я эту тему делал: viewtopic.php?f=123&t=31845
-
to better explain what exactly is not working.
-
1 это объект 2 это что-то другое но точно не объект (я так думаю) возможно это динамический объект
-
папробуй так: addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () local localPlayer = getLocalPlayer() if(xmlLoadFile ( ":players/Accounts/"..tostring(getPlayerName(localPlayer))..".xml" ) ) then outputChatBox ( "Äàííûé àêêàóíò óæå çàðåãèñòðèðîâàí! Ââåäèòå ñâîé ïàðîëü" ) -- showLoginPlayer () else outputChatBox ( "Не зарегистрирован" ) showRegisterPlayer () end end ) ИСПРАВЛЕНО
-
does not work and I have a question when I use this event and then trigger and chatBox repeated as I clean it Here for example is a simple script at the start of a new level, he starts spamming. function LevelSystemShowUpLevel() local EXP5 = getElementData(source,"Experience") if EXP5 == 25 then setElementData ( source, "Level", 2) triggerClientEvent(source,"LevelSystemShowPlayerLevel",source) outputChatBox ( source, "New Level 2!", source,0,255,0) setElementData ( source, "NextLevel", 75) end if EXP5 == 75 then setElementData ( source, "Level", 3) triggerClientEvent(source,"LevelSystemShowPlayerLevel",source) outputChatBox ( source, "New Level 3!", 0,255,0) setElementData ( source, "NextLevel", 150) end end addEventHandler("onElementDataChange",getRootElement(),LevelSystemShowUpLevel)
-
please help script does not work. Tablelevels = {} Tablelevels[1] = { "25", "100"} Tablelevels[2] = { "100", "150"} Tablelevels[3] = { "150", "200"} Tablelevels[4] = { "200", "500"} function Thislevelup() local dataElement1 = getElementData(source,"Experience") if tostring(dataElement1) == tostring(Tablelevels[1]) then local addLevel = getElementData(source,"Level") or 0 addLevel = addLevel +1 setElementData( source, "Level", addLevel ) local addNextLevel = getElementData(source,"NextLevel") or 0 addNextLevel = addNextLevel + tostring(Tablelevels[2]) setElementData( source, "NextLevel", addNextLevel ) outputChatBox("New Level") end end addEventHandler("onElementDataChange",getRootElement(),Thislevelup)
-
it WORKS huge thank you brother.