-
Posts
1,028 -
Joined
-
Last visited
-
Days Won
1
Everything posted by ..:D&G:..
-
I think too Well I don't think, I KNOW!
-
Well basicly, he has a roleplay server that uses leaked scripts.
-
I think is this what you meant: viewtopic.php?f=108&t=80666 Thanks, didn't know it was released
-
Oh, I remember back adays there was a chat script that looked like it, and had different language tabs, which I can't find... Anyway, nice GM, helped me a lot
-
Hello guys, I downloaded this scripts, a group script, and I need a script called UIPtexts, which the gang system exports.. gang script: https://community.multitheftauto.com/index.php?p ... ls&id=9813 Thanks.
-
HEY Bonsai, what's the chat script you are using?
-
Am incercat si eu sa fac un CS:MTA mai de mult, dar nu a intrat nimeni, mai bine lasal clasic
-
De ce am impresia ca scriptule "tale" nu sunt facute de tine? Nu cred ca ai face un script pe engleza pentru un server romanesc... Oricum, arata bine
-
Anyone?
-
This is what I did: local drop = createObject ( obj, x+math.sin(math.rad(-ang)), y+math.cos(math.rad(-ang)), z - 0.85, 90, 0, math.random (0, 360) ) if drop then setElementData ( drop, "id", id ) setElementData ( drop, "value", value ) setElementData ( drop, "name", name ) setElementInterior ( drop, interior ) setElementDimension ( drop, dimension ) take( source, slot ) local posx, posy, posz = getElementPosition ( drop ) local index, error = exports.sql:query_insertid( "INSERT INTO dropitems (id, value, name, posx, posy, posz, interior, dimension) VALUES (" .. id .. ", " .. value .. ", " .. name .. ", " .. posx .. ", " .. posy .. ", " .. posz .. ", " .. interior .. ", " .. dimension .. ")") if index then -- add at the last position as a new item exports.chat:me( source, "drops a " .. name .. "." ) table.insert( data[ drop ].items, { id = id, value = value, name = name, posx = posx, posy = posy, posz = posz, interior = interior, dimension = dimension } ) -- tell everyone who wants to know notify( drop ) return true end end outputChatBox( "This " ..name.. " has ID " .. slot .. ".", source, 0, 255, 0 ) end end end end ) I changed the columns from int and dim to interior and dimension, and also setted the interior column to tinyint and dimension to an int but still it doesn't add the data to the table
-
And here is Romanian [ [ { "languageCode": "ro", "friendlyName": "Română (Romanian)", "helpButton": "Modul de Ajutor", "l10nButton": "Limbă", "loadButton": "Încarcă URL-ul", "removeSong": "Şterge Melodia", "clearList": "Resetează Lista", "gridlistURL": "URL", "gridlistNP": "Melodia Difuzată", "prevSong": "Înapoi", "nextSong": "Înainte", "pauseSong": "Pauză/Play", "vehiRadio": "Vehicul", "walkRadio": "Căşti", "boomRadio": "Casetofon", "artistLabel": "Artist", "albumeLabel": "Album", "songLabel": "Melodie", "tooltips": { "helpButton": "Porneşte sau opreşte baloanele cu informaţii ajutătoare", "l10nButton": "Schimbă limba ferestrei", "inputField": "Aici poţi introduce URL-ul dorit (Radio/Melodie)", "loadButton": "Încarcă URL-ul introdus în câmpul pentru URL", "removeSong": "Şterge melodia selectată din listă", "clearList": "Şterge întreaga listă", "playlist": "Lista melodiilor de ascultat", "prevSong": "Porneşte melodia precedentă, sau reporneşte melodia curentă dacă au trecut 5 secunde de la pornirea acesteia", "nextSong": "Porneşte următoarea melodie din playlist", "pauseSong": "Pornşte sau opreşte melodia selectată, dacă este radio, acesta va fi oprit sau reluat", "vehiRadio": "Setează radio-ul/melodia pe boxele vehiculului", "walkRadio": "Setează radio-ul/melodia pe căşti", "boomRadio": "Setează radio-ul/melodia pe boxele casetofonului" } }, ] ]
-
Hey guys, I tried to make a function that lets players drop items for the gamemode I am using. I want the data of the dropped item to be saved into a MySQL database, but it doesn't save: if drop then setElementData ( drop, "id", id ) setElementData ( drop, "value", value ) setElementData ( drop, "name", name ) setElementInterior ( drop, int ) setElementDimension ( drop, dim ) take( source, slot ) local posx, posy, posz = getElementPosition ( drop ) local index, error = exports.sql:query_insertid( "INSERT INTO dropitems (id, value, name, posx, posy, posz, int, dim) VALUES (" .. id .. ", " .. value .. ", " .. name .. ", " .. posx .. ", " .. posy .. ", " .. posz .. ", " .. int .. ", " .. dim .. ")") if index then -- add at the last position as a new item exports.chat:me( source, "drops a " .. name .. "." ) table.insert( data[ drop ].items, { id = id, value = value, name = name, posx = posx, posy = posy, posz = posz, int = int, dim = dim } ) -- tell everyone who wants to know notify( drop ) return true end end The "notify" bit, tells me if the content of the mysql table has been changed, when I added an item manualy in the table, it told me that new data has been added... Any ideas guys?
-
Daca tu ti-ai inchis server-ul, atunci ce e cu asta? Numele e cu o litera in plus, dar modificarile sunt ale tale
-
Thanks ChaosMTA and ViRuZGamiing
-
If the player has the walking style with ID 138 I want the script to set the player's walking style to 0, and vice versa.
-
Hello guys, I am trying to make a small function to allow people select their own language on the server. I would like to use elementData and a command such as /eng to set the language of the player to english. I did something like: languages = { eng = "English", ro = "Romanian", sp = "Spanish", it = "Italian", fr = "French", } function setPlayerLanguage(thePlayer, language) setElementData(thePlayer, language) outputChatBox("Language set to "..language, thePlayer) if getElementData(thePlayer, it) then outputChatBox("Your language is already italian", thePlayer) end end addCommandHandler("setlanguage", setPlayerLanguage) PS: Before someone comes and says "Retard, this script will not work, this is a mess, what kind of scripter are you?". I just made this in like 2 minutes, so I can give you guys an example to help me, because I want to do something like that. Thank you.
-
Yes, they are even in the same server side file.
-
I added those functions into my code, but it still doesn't change my walking style: elseif (source) then outputChatBox("on." source) setPedWalkingStyle(source, 138) if getPedWalkingStyle(source) then outputChatBox("off." source) setPedWalkingStyle(source, 0) end
-
And how is that going to get the id of the walking style that a player has?
-
Hello guys, I need an alternative function for getPedWalkingStyle as it has been disabled. Anyone know another function or how to do something which does the same thing? Thank you.
-
I don't think you guys get me... I asked for mods Like skins for objects that represent Christmas, like decoration stuff.
-
Now it says it gets the number 660.
-
Hello guys, I keep getting an error when I want to get an element data of the player that clicks a button function checkShipment(button, state, thePlayer) local level = getElementData(thePlayer, "level") if (source==bCheck) and (button=="left") then .................................. I keep getting the error which says that the script gets the string "left", as the script gets the element data of the button and not the player. Any ideas how to fix it?
-
I couldn't really use anything from there, but thanks anyway
-
There is no download link to it, and I asked him and he says he doesn't have it anymore... Thanks for replying anyway