-
Posts
419 -
Joined
-
Last visited
-
Days Won
1
Everything posted by nikitafloy
-
getElementData(player, 'id') can be nil
-
Use regulars: string.match For example
-
@Thomas_Nightfire i would check how work animation when u attach ped to Element And look another boolean-params setPedAnimation function, u should to try different value
-
https://wiki.multitheftauto.com/wiki/OOP_in_Lua
-
If u looking staff: https://forum.multitheftauto.com/forum/149-looking-for-staff/ If u have problem - we need in description
-
Collections data in elementData type and save. On spawn - get elementData and apply changes from ur scripts. Use exports, triggers if u need.
-
Looking for a dev / scripter
nikitafloy replied to Alice Synthesis Thirty's topic in Looking for staff
@Alice Synthesis Thirty Error, when i try to add Check discord name -
in function outputChatBox, client-side, localPlayer dont use how 2nd argument
-
U can to try use ACL and manage ACL for commands. 'command.giveWeapon', for example Any ACL groups can take weapon, if ur give rights for it Or use commands with check team (getPlayerTeamName == 'Any Team Name')
-
[Help] Long execution (vehicles) GM PARADISE
nikitafloy replied to Edward Tompson's topic in Scripting
may b u give ur code? -
https://community.multitheftauto.com/?p=resources&s=details&id=18028 - url on download resource in files
-
triggerClientEvent (thePlayer, "Start", thePlayer) function painel () outputChatBox("aloboizaumm") if painel == false then showCursor (true) addEventHandler ("onClientRender", root,abrir) painel = true end end addEvent("Start", true) addEventHandler("Start", localPlayer, painel) triggerClientEvent
-
@xFabel addEventHandler("onPlayerLogin", root, function(_, theCurrentAccount) local acc = getAccountData(theCurrentAccount,"AccountPlayer") if not acc then -- not acc, because its new account - new account havent any datas setAccountData(theCurrentAccount,"AccountPlayer",true) end end)
-
-- Its new account? getAccountData(thisAccount,"oldAccount") -- No, then setAccountData(thisAccount,"oldAccount",true) -- Now its old account
-
u need to update function with ped it should be: local theSkin function test() theSkin = getElementModel( skin ) print(theSkin) end
-
No problem, u can write me: debugscript#0201 or forum pm
-
string.sub()
-
Удаление всего состава поезда после окончания работы
nikitafloy replied to Erema93's topic in Скриптинг
Лень разбираться в коде. Смотри как создаются объекты и как удаляются. Названия дат элементов и триггеры на русский бы тоже перевести для большего понимания. -
Что значит "элемент этого оружия"?
-
Всегда считал, что найти решение проблемы можно быстрее, чем описывать саму проблему, делать видео и т.д. Все решение находится в самом коде - нужно смотреть только его, начиная с запущенных скриптов. Отключать по очереди те, что запущены. Когда все станет ОК - решать проблему в этом скрипте.
-
Тем, каким группам хочешь отключить
-
Привет, да, отпиши в личку или ВК: vk.com/lbecker
-
dbExec(ваше подключение, "SET CHARACTER SET utf8")
