Jump to content

TwiX!

Members
  • Posts

    905
  • Joined

  • Last visited

Everything posted by TwiX!

  1. TwiX!

    Nothing there

    5-10$ i think good scripter make it in 1-2 hours. 5-10$ for all gm? lol, gl
  2. я не понимаю зачем тебе сервер, хотя там только триггер, тебе объянили как использовать функцию, не надо изобретать велосипед
  3. TwiX!

    Nothing there

    price is?
  4. boring map, bad mapping, claudio style
  5. лично я вообще ничего не понял из твоего кода
  6. startMusic stopMusic нету этих функий в сервере
  7. в чат напиши /debugscript 3 и смотри какие ошибки он выведет
  8. ну во 1 у тебя код работать не будет, даже если будет, во 2 все кнопки после старта музыки будут не работать, так как ты их всех выключил, в3 тебе дали код, юзай его, потому что там, и стоп есть и нормально заюзан плей, ты хотя бы смотри как человек сделал /debugscript 3 в помощь
  9. No topic Удачи тогда)) ты же "уже научился не мало"
  10. This host have ddos only and u got restriction 50% + lag
  11. addaccount Test 123 <group name="Admin"> <acl name="Moderator"></acl> <acl name="SuperModerator"></acl> <acl name="Admin"></acl> <acl name="RPC"></acl> <object name="resource.admin"></object> <object name="user.ascla" /> <object name="resource.webadmin"></object> [b][color=#FF0000] <object name="user.Test"></object>[/color][/b] </group> Vous devez redémarrer le serveur /login Test 123
  12. <object name="user.NAME_HERE"></object> Example: "user.Test">
  13. сделал за него всю работу, опять же человек не чему не научится.. только ctrl+c ctrl+v
  14. сделать самому, на коммунити нету скриптов таких, или нанять скриптера
  15. cahnge your function buyMap(thePlayer,mapName) on my
  16. XXS user panel buy nextrime function buyMap(thePlayer,mapName) --local playerLevel = tonumber(loadPlayerData(thePlayer,"level")) local playerCash = tonumber(loadPlayerData(thePlayer,"cash")) if mapIsAlreadySet == false then if not (mapName == "") then --if playerLevel >= mapLevel then if playerCash >= mapCost then executeCommandHandler("nextmap", thePlayer, mapName) else outputChatBox("#FF6600* #FFFFFFYou don't have enough money to set a map!",thePlayer,255,255,255,true) end --else --outputChatBox("#FF6600* #FFFFFFYou need to be level #ABCDEF"..mapLevel.." #FFFFFFor higher to set maps!",thePlayer,255,255,255,true) --end else outputChatBox("#FF6600* #FFFFFFPlease select a map from the list first!",thePlayer,255,255,255,true) end else outputChatBox("#FF6600* #FFFFFFA map is already set at the moment! Please try again later.",thePlayer,255,255,255,true) end end
  17. сделать нормальную версию, а не все эти баганные
  18. marker createMarker ( float x, float y, float z, [string theType, float size, int r, int g, int b, int a] ) X,Y,Z,тут тип корона и т.д, РАЗМЕР, цвет р,г,б(255,255,255), Альфа=Прозрачность https://wiki.multitheftauto.com/wiki/TriggerClientEvent https://wiki.multitheftauto.com/wiki/TriggerServerEvent https://wiki.multitheftauto.com/wiki/GuiSetEnabled
  19. Понятно,а что бы сделать вот так: 1.Появлялся текст через 10 секунд. 2.После появления он убирался через 5 секунд. Или можно только так,как ты написал мне? Как загрузить свой шрифт? тебе нужен textlib.lua стандартный чтобы юзать этот текст, как пример: function setInfotx() local x, y = guiGetScreenSize() asd = dxText:create("WElcomE guys", x-170, y/14 -40 + 1, false, "bankgothic", 0.6, "center" ) asd:type('stroke', 1, 0, 0, 0, 255) setTimer( function() therandom = math.random(7) if therandom == 1 then asd:text("FACEPALM") elseif therandom == 2 then asd:position(x-135, y/14 -40 + 1, false) asd:text("LOL") elseif therandom == 3 then asd:position(x-135, y/14 -40 + 1, false) asd:text("OMG") elseif therandom == 4 then asd:position(x-135, y/14 -40 + 1, false) asd:text("O_O") elseif therandom == 5 then asd:position(x-135, y/14 -40 + 1, false) asd:text("HAHA") end end, 10000, 0) end setTimer ( setInfotx, 1000, 1) Можно писать текст с цветом.. asd:text("#ff0000H#00ff00A#ff4500H#0000ffA") будет HAHA
  20. так не проще? local bustable = { "2007.65198, -1648.86047, 13.41406", "1825.22791, -1635.03711, 13.38281", "1855.01685, -1430.47449, 13.39063", "1732.81580, -1296.87122, 13.44294", "1473.19226, -1295.77124, 13.48315", "1443.60376, -1498.26660, 13.37650", "1426.37280, -1716.12439, 13.38281", "1315.06909, -1656.43799, 13.38281", "1359.06250, -1432.39734, 13.38281", "1169.82983, -1392.34473, 13.41728", "930.76508, -1392.92627, 13.26561", "815.24756, -1317.91345, 13.44460", "585.04199, -1320.53748, 13.40609", "526.99365, -1624.20361, 16.63225", } Действиетут (bustable[math.random(1, #bustable)]) Где действие.. там спавн, принт и т.д
  21. юкоз это гавнополное.. найди нормальный php бесплатный хостинг...
  22. function scoreboardRefresh(thePlayer) if (isGuestAccount(getPlayerAccount(thePlayer)) == true) then setPlayerStatus( thePlayer, "Not Logged", nil ) else local playerCash = loadPlayerData(thePlayer,"cash") setElementData(thePlayer,"Money","$"..playerCash) setPlayerStatus( thePlayer, playerCash, nil) callClientFunction(thePlayer,"refreshCash",playerCash) end end 62-6
  23. чтобы результат вернуть, его надо получить..
  24. function loadPlayerData (thatPlayer,datatype) local playeraccount = getPlayerAccount ( thatPlayer ) if (playeraccount) and not isGuestAccount ( playeraccount ) then getAccountData(playeraccount, datatype) end end function savePlayerData (thatPlayer,datatype,newvalue) local playeraccount = getPlayerAccount ( thatPlayer ) if (playeraccount) and not isGuestAccount ( playeraccount ) then setAccountData ( playeraccount, datatype,newvalue ) end end ? Account Data SqlCreateTable mySql что быстрее?
×
×
  • Create New...