
CrazyDude
Members-
Content Count
64 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout CrazyDude
-
Rank
Snitch
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Ehm, i did not understood what are you trying to show. I already saw this movie, i know who is SCM. But what the point? >_<
-
Nuff said. Gonna fly on the ChrML Hard.
-
Помню когда играл в MTA:Race, был один парень(уже ник не помню). Так вот, он думал(2 года!), что голосовать нужно написав сообщение в чат, а не нажатием кнопки 1,2,3...
-
[BUG] Черный экран при заходе на сервер [SOLVED]
CrazyDude replied to prizrak95r's topic in Помощь / Отчеты об ошибках
Зайди на сервер, пропиши в консоли shownetstat 1 Сделай скрин и покажи. Вдруг все кроется здесь. -
Официальный релиз MTA:SA 1.1! Yeah, baby!
CrazyDude replied to Disinterpreter's topic in Russian / Русский
Простите, не удержался -
MTA:SA 1.1 Released: Harder, Better, Stronger, Faster
CrazyDude replied to darkdreamingdan's topic in News
Congratz -
executeSQLSelect returns 2-dimensional table. You are using 1-dimensional table. So try this one: function create_tables() executeSQLCreateTable ( "users", "user STRING, health INT, armor FLOAT, money INT, x FLOAT, y FLOAT, z FLOAT, wanted INT, skin INT, dim INT, int INT, r INT, g INT, b INT, jailtime INT" ) end addEventHandler("onResourceStart",resourceRoot,create_tables) function save_general() local health = getElementHealth(source) local Armor = getPedArmor(source) local money = getPlayerMoney(source) local x,y,z = getElementPosition(source) local wanted = getPlayerWantedLevel(source) local skin = getElementModel(source) local dim = getElementDimension (source) local int = getElementInterior (source) local r, g, b = getPlayerNametagColor ( source ) local playername = getPlayerName ( source ) local jailtime = getElementData(source,"jailtime") executeSQLUpdate( "users", "user = '" .. getAccountName( getPlayerAccount( source ) ) .. "', health = '" .. health .. "', armor = '" .. armor .. "', money = '" .. money .. "', x = '" .. x .. "', y = '"..y.."'z = '" .. z .."',wanted = '".. wanted .."',skin = '".. skin .."',dim = '".. dim .. "',int = '".. int .."',r = '".. r .. "',g = '".. g .."',b = '".. b .. "',jailtime = '".. jailtime .."'") end addEventHandler("onPlayerQuit",root,save_general) function save_setData() local userTable = executeSQLSelect ( "users", "user","user = '" .. getAccountName( getPlayerAccount( source ) ) .. "'", "health", "armor", "money", "x", "y", "z", "wanted","skin","dim","int","r","g","b","jailtime" ) setElementHealth(source,userTable[1][3]) setPedArmor(source,userTable[1][4]) setPlayerMoney(source,userTable[1][5]) setElementPosition( source, userTable[1][6], userTable[1][7], userTable[1][8] ) setPlayerWantedLevel(source,userTable[1][9]) setElementModel(source,userTable[1][10]) setElementDimension (source,userTable[1][11]) setElementInterior (source,userTable[1][12]) setPlayerNametagColor ( source, userTable[1][13], userTable[1][14], userTable[1][15] ) setElementData(source,"jailtime",userTable[1][16) end addEventHandler( "onPlayerLogin", root, save_setData )
-
Нет, не умею. p.s. рачек
-
This resource allows you to listen your favorite music just from MTA! The only thing you need is a link to radio stream, or links directly to music files. Commands: */radio - shows/hides radio GUI */stopsound - stops stream/sound from play */vol_up,vol_down - volume controls You can bind them to any key you like for the fast access. Radio GUI has 2 tabs: Streams: Here you can add,remove and play your online streams. If you wan't to play stream, just double click on stream URL. and sounds: Here you can add,remove and play your sounds. This tab has 2 options: -Repeat - repeats currently playing sound -Radio mode - after sound ended play, the next sound will be played. This resource is CLIENT-SIDE, that means, all your URLs to streams and sounds will be same on all servers. So, you can listen your favorite music on any server! (Only problem is that server must have this resource started) When sound started or stream changed meta, you will see basic info(title,artist, etc) about new sound. Here is a linkto SVN checkout FOR MTA:SA 1.1 USE ONLY (include n-builds)
-
https://code.google.com/p/crazy-mta-resources/ Буду добавлять свои ресурсы. (Жду когда инет подключат)
-
У тебя ошибка в resource="sweetiemap" />
-
Вот когда-то писал давно: http://crazy-studio.blogspot.com/2011/0 ... art-1.html http://gta-rating.ru/forum/showthread.php?t=1370
-
Попробуй http://wiki.multitheftauto.com/wiki/SetObjectStatic
-
Данная идея была (или все еще есть) реализована на одном популярном Freeroam серваке, не помню точно название, что-то типо (DRK или DRC), там отдельно есть гонки, фрироам, дм.
-
Чего не хватает в MTA:SA, чтобы стать популярнее?
CrazyDude replied to MX_Master's topic in Russian / Русский
Я помню писал свой для мта на дельфи, но забросил. P.S Подскажите хороший компонент для создание таблички серверов.