Jump to content

AngelAlpha

Members
  • Posts

    172
  • Joined

  • Last visited

  • Days Won

    3

AngelAlpha last won the day on November 2 2022

AngelAlpha had the most liked content!

4 Followers

About AngelAlpha

  • Birthday December 5

Details

  • Gang
    Grove Street
  • Location
    Беларусь

Recent Profile Visitors

1,343 profile views

AngelAlpha's Achievements

Chump

Chump (17/54)

33

Reputation

  1. По поводу перехода в другой город, можно как ты предложил через бд (мускул). А по поводу звонков, вроде никак. Потому что звонки реализованы по типу войс чата где друг друга слышать только 2 игрока
  2. replacer engineRemoveShaderFromWorldTexture > engineApplyShaderToWorldTexture
  3. local sx, sy = guiGetScreenSize() exports.blur_box:createBlurBox( 0, 0, sx, sy, 255, 255, 255, 255, false )
  4. function wasNickChangedByUser(_, _, byUser) if byUser then cancelEvent() end end addEventHandler("onPlayerChangeNick", root, wasNickChangedByUser)
  5. добавить проверку в радар по типу if not getElementData(localPlayer, "is_login") then return end и в логин панель при авторизации setElementData(игрок, "is_login", true)
  6. host должен быть не IP сервер, а IP базы данных порт для подключения не нужен, нужен только логин и пароль
  7. AngelAlpha

    File

    <meta> <script src="config.lua" type="shared" cache="false" validate="false"/> <script src="client.lua" type="client" cache="false" validate="false"/> <script src="server.lua" type="server" cache="false" validate="false"/> </meta>
  8. replace local Inv1 = convert(getElementData(localPlayer, "Inventário:Slots") or 0) or "0" local Inv2 = convert(getElementData(localPlayer, "Inventário:Max") or 0) or "0" local Inv3 = convert(getElementData(objbau, "Bau:Slots") or 0) or 0 local Inv4 = convert(getElementData(objbau, "Bau:Max") or 0) or 0 ---------------------------------------------------------------------------------------- function convert ( number ) return tonumber(string.format("%.1f", format(number)) end
  9. the error is not in the syntax, but in the fact that there is no number
  10. in the one-resource add to meta <export function="firstFunction" type="server"/> <!-- if function on server side --> <export function="firstFunction" type="client"/> <!-- if function on client side --> <export function="firstFunction" type="shared"/> <!-- if function can used on server and client side --> and in two-resource use exports["one-resource"]:firstFunction( [args] ) -- or exports.one-resource:firstFunction( [args] )
×
×
  • Create New...