-
Posts
2,112 -
Joined
-
Last visited
-
Days Won
63
Everything posted by Vinyard
-
Nu vreau sa-mi bat capul, insa din nou: nimeni nu te ajuta pentru ca trebuie sa inveti din experienta, normal ca e greu, nu e ca pe SA:MP ca ai tutoriale pentru fiecare chestie. Plus ca MTA are alta limba de codare, adica LUA, nu PAWNO. Daca chiar vrei sa-ti faci un server de RolePlay ai doua optiuni: 1. Inveti LUA, ceea ce va dura. 2. Te joci pe alte servere de RolePlay, poate si straine, si poate iti faci unele contacte care te pot ajuta, dar si asa prea greu. Iti recomand sa mai astepti, deoarece acum nu ai nici cunostinte si nici expertienta cu un server de MTA.
-
Nu oferim ajutor in privinta asta pentru ca: 1. Nu ar trebui sa deschizi un server de RolePlay daca nu ai cunostinte minime in a seta un server cu tot tacamul (baza de date, rezolvarea bugurilor etc.) 2. Sigur GM-ul pe care il folosesti este cel de la vG.
-
In locul tau nu as face asta, deoarece vom avea in lista o sumedenie de servere de RolePlay romanesti si se va intampla la fel ca si pe cele straine - 100 de servere cu 2-3 jucatori.
-
Daca nu stii, mai bine taci, serios. Acest pack de obiecte 0.3c contine cateva obiecte din SA:MP (din cate stiu eu). Revenind, sigur ai instalat bine pack-ul?
-
Uh, sorry guys but the post date is Sat Nov 12, 2011 1:25 am, I don't think this GM is still in development... This should be closed and archived, I think.
-
Frate, deja avem o sectiune de acest gen. viewtopic.php?f=126&t=34698
-
Am reusit, multumesc mult!
-
Buna, am si eu o problema. Am facut un script care sa iti arate ID-ul culorilor pe care le poti folosi pe masini intr-un GUI. Insa cand pornesc script-ul imi deschide GUI-ul. Deci intrebarea mea ar fi: Ce sa folosesc pentru a face ca GUI-ul sa se deschida doar printr-o comanda, nu si cand pornesc resursa? Am cautat pe Forum si pe Wiki posibile solutii insa nu am gasit ceva pe intelese. Aici e codul meu, e clientside: addEventHandler("onClientResourceStart",resourceRoot, function () GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(0.2212,0.2633,0.5788,0.4267,"Color List",true) GUIEditor_Image[1] = guiCreateStaticImage(15,22,436,193,"colors.png",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(276,218,176,25,"Iesire",false,GUIEditor_Window[1]) addEventHandler("onClientGUIClick", GUIEditor_Button[1], hide) GUIEditor_Button[2] = guiCreateButton(15,220,176,25,"Car List",false,GUIEditor_Window[1]) end ) function show () guiSetVisible( GUIEditor_Window[1], not guiGetVisible( GUIEditor_Window[1] ) ) guiWindowSetSizable( GUIEditor_Window[1], false) guiWindowSetMovable( GUIEditor_Window[1], false) end addCommandHandler("colorlist",show) function hide () guiSetVisible( GUIEditor_Window[1], false) end Am incercat sa sterg primul EventHandler insa dupa aceea nu imi mai crea GUI-ul deloc. Sper sa aveti o solutie
-
Buna, O metoda ar fi sa intri pe Map Editor -> Locations -> Selectezi un int. (nu depinde care) , iar apoi te departezi pana nu mai vezi int. respectiv -> cauti la obiecte 'int' si acolo vei gasi interioare nemobilate. Asa fac eu. Stima, Tomitza.
-
[REL] Fort Carson Roleplay Gamemode Free Download
Vinyard replied to micheal1230's topic in Resources
/makeshop - Adds a new NPC shop. /ah - For any other commands. -
[REL] Fort Carson Roleplay Gamemode Free Download
Vinyard replied to micheal1230's topic in Resources
You have to get Xampp and create a DataBase. Use this for help. viewtopic.php?f=148&t=42067 -
[REL] Fort Carson Roleplay Gamemode Free Download
Vinyard replied to micheal1230's topic in Resources
Are your modules loaded? -
Nice, I like all of them. Keep up good work.
-
[REL] Fort Carson Roleplay Gamemode Free Download
Vinyard replied to micheal1230's topic in Resources
Look if modules are loaded. Make a folder called "modules" in : A. MTA/Server/mods B. MTA/Server/mods/deathmatch C. MTA/Server/mods/deathmatch/resources !! If you run on windows you will have to put mta_mysql.dll in "modules" (in every folder) and libmysql.dll only in MTA/server !! Now go to mtaserver.config and look for modules line: "mta_mysql.dll" /> If there isn't one then you have to put it and delete the others. Look for mysql folder: There you got 2 folders - s_mysql.lua and connection.lua When you open s_mysql.lua you will see something like this. username = "root" password = "" db = "mta" -- Here you will put your DataBase name host = "localhost" -- Change if you got a host, if your host is your PC then leave it port = tonumber( get( "port" ) ) or 3306 -- Leave it like this When you open connection.lua you will see something like this. local hostname = "localhost" -- Change if you got a host, if your host is your PC then leave it. local username = "root" local password = "" local database = "mta" -- Here you will put your DataBase name local port = tonumber( get( "port" ) ) or 3306 -- Leave it like this. This is all I could help you guys hope I helped again. What is type up here is how to make it work on windows atleast that's how I made mine on PC. If this doesn't work get Team Viewer and PM me. -
[REL] Fort Carson Roleplay Gamemode Free Download
Vinyard replied to micheal1230's topic in Resources
Maybe this can help https://forum.multitheftauto.com/viewtop ... 758e7a688b -
https://forum.multitheftauto.com/viewtop ... 0b0cebfb19 Maybe this will help you...
-
viewtopic.php?f=108&t=30104 Use search function next time
-
The link ain't working. It says that currently there is no text on page.
-
And how I get the object model? Is the object ID?
-
Hi guys. I'm Tomitza. I use sG scripts for a server to play with my friends and I want to add more objects but I don't know how . Here is the list of items from download package. g_items = { -- name, description, category, model, rx, ry, rz, zoffset -- categories: -- 1 = Food & Drink -- 2 = Keys -- 3 = Drugs -- 4 = Other -- 5 = Books -- 6 = Clothing & Accessories -- 7 = Electronics { "Hotdog", "A steamy, good looking and tasty hotdog.", 1, 2215, 205, 205, 0, 0.01 }, { "Cellphone", "A sleek cellphone, look's like a new one too.", 7, 330, 90, 90, 0, -0.05 }, { "Vehicle Key", "A vehicle key with a small manufacturers badge on it. (( Opens vehicle ##v ))", 2, 1581, 270, 270, 0, 0 }, { "House Key", "A green house key.", 2, 1581, 270, 270, 0, 0 }, { "Business Key", "A blue business key.", 2, 1581, 270, 270, 0, 0 }, { "Radio", "A black radio.", 7, 330, 90, 90, 0, -0.05 }, { "Phonebook", "A torn phonebook.", 5, 2824, 0, 0, 0, -0.01 }, { "Sandwich", "A yummy sandwich with cheese.", 1, 2355, 205, 205, 0, 0.06 }, { "Softdrink", "A can of Sprunk.", 1, 2647, 0, 0, 0, 0.12 }, { "Dice", "A white dice with white dots.", 4, 1271, 0, 0, 0, 0.285 }, { "Taco", "A greasy mexican taco.", 1, 2215, 205, 205, 0, 0.06 }, { "Burger", "A double cheeseburger with bacon.", 1, 2703, 265, 0, 0, 0.06 }, { "Donut", "Hot sticky sugar covered donut.", 1, 2222, 0, 0, 0, 0.07 }, { "Cookie", "A luxury chocolate chip cookie.", 1, 2222, 0, 0, 0, 0.07 }, { "Water", "A bottle of mineral water.", 1, 1484, -15, 30, 0, 0.2 }, { "Clothes", "A set of clean clothes. (( Skin ID ##v ))", 6, 2386, 0, 0, 0, 0.1 }, { "Watch", "A smart gold watch.", 6, 1271, 0, 0, 0, 0.285 }, { "City Guide", "A small city guide booklet.", 5, 2824, 0, 0, 0, -0.01 }, { "MP3 Player", "A white, sleek looking MP3 Player. The brand reads EyePod.", 7, 2886, 270, 0, 0, 0.1 }, { "Standard Fighting for Dummies", "A book on how to do standard fighting.", 5, 2824, 0, 0, 0, -0.01 }, { "Boxing for Dummies", "A book on how to do boxing.", 5, 2824, 0, 0, 0, -0.01 }, { "Kung Fu for Dummies", "A book on how to do kung fu.", 5, 2824, 0, 0, 0, -0.01 }, { "Knee Head Fighting for Dummies", "A book on how to do grab kick fighting.", 5, 2824, 0, 0, 0, -0.01 }, { "Grab Kick Fighting for Dummies", "A book on how to do elbow fighting.", 5, 2824, 0, 0, 0, -0.01 }, { "Elbow Fighting for Dummies", "A book on how to do elbow fighting.", 5, 2824, 0, 0, 0, -0.01 }, { "Gas Mask", "A black gas mask, blocks out the effects of gas and flashbangs.", 6, 2386, 0, 0, 0, 0.1 }, { "Flashbang", "A small grenade canister with FB written on the side.", 4, 343, 0, 0, 0, 0.1 }, { "Glowstick", "A green glowstick.", 4, 343, 0, 0, 0, 0.1 }, { "Door Ram", "A red metal door ram.", 4, 1587, 90, 0, 0, 0.05 }, { "Cannabis Sativa", "Cannabis Sativa, when mixed can create some strong drugs.", 3, 1279, 0, 0, 0, 0 }, { "Cocaine Alkaloid", "Cocaine Alkaloid, when mixed can create some strong drugs.", 3, 1279, 0, 0, 0, 0 }, { "Lysergic Acid", "Lysergic Acid, when mixed can create some strong drugs.", 3, 1279, 0, 0, 0, 0 }, { "Unprocessed PCP", "Unprocessed PCP, when mixed can create some strong drugs.", 3, 1279, 0, 0, 0, 0 }, { "Cocaine", "1g of cocaine.", 3, 1575, 0, 0, 0, 0 }, { "Drug 2", "A marijuana joint laced in cocaine.", 3, 1576, 0, 0, 0, 0 }, { "Drug 3", "50mg of cocaine laced in lysergic acid.", 3, 1578, 0, 0, 0, -0.02 }, { "Drug 4", "50mg of cocaine laced in phencyclidine.", 3, 1579, 0, 0, 0, 0 }, { "Marijuana", "A marijuana joint.", 3, 3044, 0, 0, 0, 0.04 }, { "Drug 6", "A marijuana joint laced in lysergic acid.", 3, 1580, 0, 0, 0, 0 }, { "Angel Dust", "A marijuana joint laced in phencyclidine.", 3, 1575, 0, 0, 0, -0.02 }, { "LSD", "80 micrograms of LSD.", 3, 1576, 0, 0, 0, 0 }, { "Drug 9", "100milligrams of yellow liquid.", 3, 1577, 0, 0, 0, 0 }, { "PCP Hydrochloride", "10mg of phencyclidine powder.", 3, 1578, 0, 0, 0, 0 }, { "Chemistry Set", "A small chemistry set.", 4, 1210, 90, 0, 0, 0.1 }, { "Handcuffs", "A pair of metal handcuffs.", 4, 2386, 0, 0, 0, 0.1 }, { "Rope", "A long rope.", 4, 1271, 0, 0, 0, 0.285 }, { "Handcuff Keys", "A small pair of handcuff keys.", 4, 2386, 0, 0, 0, 0.1 }, { "Backpack", "A reasonably sized backpack.", 4, 3026, 270, 0, 0, 0 }, { "Fishing Rod", "A 7 foot carbon steel fishing rod.", 4, 338, 80, 0, 0, -0.02 }, { "Los Santos Highway Code", "The Los Santos Highway Code.", 5, 2824, 0, 0, 0, -0.01 }, { "Chemistry 101", "An Introduction to Useful Chemistry.", 5, 2824, 0, 0, 0, -0.01 }, { "Police Officer's Manual", "The Police Officer's Manual.", 5, 2824, 0, 0, 0, -0.01 }, { "Breathalizer", "A small black breathalizer.", 4, 1271, 0, 0, 0, 0.285 }, { "Ghettoblaster", "A black Ghettoblaster.", 7, 2226, 0, 0, 0, 0 }, { "Business Card", "Steven Pullman - L.V. Freight Depot, Tel: 12555", 4, 1581, 270, 270, 0, 0 }, { "Ski Mask", "A Ski mask.", 6, 2386, 0, 0, 0, 0.1 }, { "Fuel Can", "A small metal fuel canister.", 4, 1517, 0, 0, 0, 0.15 }, { "Ziebrand Beer", "The finest beer, imported from Holland.", 1, 1520, 0, 0, 0, 0.15 }, { "Mudkip", "So i herd u liek mudkips? mabako's Favorite.", 1, 1579, 0, 0, 0, 0 }, { "Safe", "A safe to store your items in.", 4, 2332, 0, 0, 0, 0 }, { "Emergency Light Strobes", "An Emergency Light Strobe which you can put on you car.", 7, 2886, 270, 0, 0, 0.1 }, { "Bastradov Vodka", "For your best friends - Bastradov Vodka.", 1, 1512, 0, 0, 0, 0.25 }, { "Scottish Whiskey", "The Best Scottish Whiskey, now exclusively made from Haggis.", 1, 1512, 0, 0, 0, 0.25 }, { "LSPD Badge", "A Los Santos Police Department badge.", 4, 1581, 270, 270, 0, 0 }, { "LSES Identification", "An Los Santos Emergency Service Identification.", 4, 1581, 270, 270, 0, 0 }, { "Blindfold", "A black blindfold.", 6, 2386, 0, 0, 0, 0.1 }, { "GPS", "A GPS Satnav for a car.", 6, 2886, 270, 0, 0, 0.1 }, { "Lottery Ticket", "A Los Santos Lottery ticket.", 6, 1581, 270, 270, 0, 0 }, { "Dictionary", "A Dictionary.", 5, 2824, 0, 0, 0, -0.01 }, { "First Aid Kit", "Saves a Life. Can be used #v times.", 4, 1240, 90, 0, 0, 0.05 }, { "Notebook", "A small collection of blank papers, useful for writing notes. There are #v pages left. ((/writenote))", 4, 2824, 0, 0, 0, -0.01 }, { "Note", "The note reads: #v", 4, 2824, 0, 0, 0, -0.01 }, { "Elevator Remote", "A small remote to change an elevator's mode.", 2, 364, 0, 0, 0, 0.05 }, { "Bomb", "What could possibly happen when you use this?", 4, 363, 270, 0, 0, 0.05 }, { "Bomb Remote", "Has a funny red button.", 4, 364, 0, 0, 0, 0.05 }, { "Riot Shield", "A heavy riot shield.", 4, 1631, -90, 0, 0, 0.1 }, { "Card Deck", "A card deck to play some games.", 4,2824, 0, 0, 0, -0.01 }, { "San Andreas Pilot Certificate", "An official permission to fly planes and helicopters.", 4, 1581, 270, 270, 0, 0 }, { "Porn Tape", "A porn tape, #v", 4,2824, 0, 0, 0, -0.01 }, { "Generic Item", "#v", 4, 1271, 0, 0, 0, 0.285 }, { "Fridge", "A fridge to store food and drinks in.", 7, 2147, 0, 0, 0, 0 }, { "LST&R Identification", "This LST&R Identification has been issued to #v.", 4, 1581, 270, 270, 0, 0 }, { "Coffee", "A small cup of Coffee.", 1, 2647, 0, 0, 0, 0.12 }, { "Escort 9500ci Radar Detector", "Detects Police within a half mile.", 7, 330, 90, 90, 0, -0.05 }, { "Emergency Siren", "An emergency siren to put in your car.", 7, 330, 90, 90, 0, -0.05 }, { "SAN Identifcation", "A SAN Identification issued to #v.", 7, 330, 90, 90, 0, -0.05 }, { "LS Government Badge", "A Los Santos Government Badge.", 4, 1581, 270, 270, 0, 0 }, { "Earpiece", "A small earpiece, can be connected to a radio.", 7, 1581, 270, 270, 0, 0 }, { "Food", "", 1, 2222, 0, 0, 0, 0.07 }, { "Helmet", "Ideal for riding bikes.", 6, 2386, 0, 0, 0, 0.1 }, { "Eggnog", "Yum Yum.", 1, 2647, 0, 0, 0, 0.1 }, --91 { "Turkey", "Yum Yum.", 1, 2222, 0, 0, 0, 0.1 }, { "Christmas Pudding", "Yum Yum.", 1, 2222, 0, 0, 0, 0.1 }, { "Christmas Present", "I know you want one.", 4, 1220, 0, 0, 0, 0.1 }, { "Drink", "", 1, 1484, -15, 30, 0, 0.2 }, { "PDA", "A top of the range PDA to view e-mails and browse the internet.", 6, 2886, 270, 0, 0, 0.1 }, { "LSES Procedures Manual", "The Los Santos Emergency Service procedures handbook.", 5, 2824, 0, 0, 0, -0.01 }, { "Garage Remote", "A small remote to open or close a Garage.", 2, 364, 0, 0, 0, 0.05 }, { "Mixed Dinner Tray", "Lets play the guessing game.", 1, 2355, 205, 205, 0, 0.06 }, { "Small Milk Carton", "Lumps included!", 1, 2856, 0, 0, 0, 0 }, { "Small Juice Carton", "Thirsty?", 1, 2647, 0, 0, 0, 0.12 }, { "Cabbage", "For those Vegi-Lovers.", 1, 1271, 0, 0, 0, 0.1 }, { "Shelf", "A large shelf to store stuff on", 4, 3761, -0.15, 0, 85, 1.95 }, { "Portable TV", "A portable TV to watch TV shows with.", 6, 2886, 270, 0, 0, 0.1 }, { "Small Single Bed", "Single type bed.", 4, 1796, 0, 0, 0, 0 }, --105 { "Double Bed", "Double type bed",4, 1799, 0, 0, 0, 0 }, { "Single Couch", "single couch.", 4, 1769, 0, 0, 0, 0 }, { "Couch", "A couch.", 4, 1768, 0, 0, 0, 0 }, { "Wooden Chair", "A small wooden chair.", 4, 2120, 0, 0, 0, 0.8 }, { "Office Chair 1", "A office chair.", 4, 1715, 0, 0, 0, 0.2}, { "Office Chair 2", "A small wooden chair.", 4,1714, 0, 0, 0, 0.2 }, --111 { "Bar stool", "A barstool.", 4, 2350, 0, 0, 0, 0.3 }, { "Pizza Table", "A pizza table.", 4, 2764, 0, 0, 0, 0.3 }, { "Pool Table", "A pool table.", 4, 2964, 0, 0, 0, 0 }, { "Card Table", "A card table.", 4, 2188, 0, 0, 0, 1 }, --115 { "Ramp", "A wooden ramp.", 4, 1245, 0, 0, 0, 1 }, { "Ramp 2", "A yellow coloured ramp.", 4,13593, 0, 0, 0, 1}, { "Shop Desk", "A small shop desk.", 4,2370, 0, 0, 0, 0 ,0}, { "Electric lock", "An electrical lock to protect vehicle from jackers.", 7,1581, 270, 270, 0, 0} --Chairs = { 1663, 1671, 1720, 1721, 1810, 1811, 2079, 2120, 2121, 2125, 2777, 2788, 1369 } } function getItemRotInfo(id) if not g_items[id] then return 0, 0, 0, 0 else return g_items[id][5], g_items[id][6], g_items[id][7], g_items[id][8] end end local function findVehicleName( value ) for _, theVehicle in pairs( getElementsByType( "vehicle" ) ) do if getElementData( theVehicle, "dbid" ) == value then return " (" .. getVehicleName( theVehicle ) .. ")" end end return "" end function getItemName(id, value) if id == -100 then return "Body Armor" elseif id == -46 then -- MTA Client bug return "Parachute" elseif id < 0 then return getWeaponNameFromID( -id ) elseif not g_items[id] then return "?" elseif id == 3 and value then return g_items[id][1] .. findVehicleName(value) elseif ( id == 4 or id == 5 ) and value then local pickup = exports['interior-system']:findParent( nil, value ) local name = pickup and getElementData( pickup, "name" ) return g_items[id][1] .. ( name and ( " (" .. name .. ")" ) or "" ) elseif ( id == 80 ) and value then return value elseif ( id == 96 ) and value and value ~= 1 then return value elseif ( id == 89 or id == 95 ) and value and value:find( ";" ) then return value:sub( 1, value:find( ";" ) - 1 ) else return g_items[id][1] end end function getItemValue(id, value) if id == 80 then return "" elseif id == 96 then return 1 elseif id == 89 or id == 95 then return value:sub( value:find( ";" ) + 1 ) else return value end end function getItemDescription(id, value) local i = g_items[id] if i then local desc = i[2] if id == 96 and value ~= 1 then return desc:gsub("PDA","Laptop") else return desc:gsub("#v",value) end end end function getItemType(id) return ( g_items[id] or { nil, nil, 4 } )[3] end function getItemModel(id) return ( g_items[id] or { nil, nil, nil, 1271 } )[4] end Well I don't know what to do after category [ model, rx, ry, rz, zoffset] I know I should make mine but if you can answer I would appreciate. Thanks for help Tomitza
-
He said car mods. viewtopic.php?f=91&t=42687&p=431325#p431325 Use first "Search" function.
-
viewtopic.php?f=148&t=42067 - This Should Help You
-
Well good luck with it.
