-
Posts
1,028 -
Joined
-
Last visited
-
Days Won
1
Everything posted by ..:D&G:..
-
Hello guys, I am looking for some Christmas resources or mods, like Christmas decorations and tall these kind of stuff. If any of you could lend me some mods for Christmas, that would be awesome Thank you.
-
Can't let that happen, if you want, I could help you. Also, I got a friend which is more than happy to help with the mapping bit. PM me if you want.
-
I don't get you man, what guide do you want? You have the commands, and those commands have syntaxes. You don't really use a gememode, you play on it Could you be more clear on what you want to know?
-
If I had that part, I wouldn't post this -.- But for now, the objects are not inserted in the database
-
You have the gamemode and the files in front of you, you can look for commands BTW, if you try to make a public server out of it, and you don't know scripting, then it's useless, even I struggle to make something out of it.
-
It's a bit weird how no one replys to my posts
-
Sure, I am always happy to help Give me your skype ID and I will add you
-
Any errors? Also, port the client side of the script, it might be an event problem
-
PM me, I will help you though skype if you want
-
Did you create an account? Also, make use the resouce is in the Admin group in the acl.xml file Add "resource.name_of_resouce"> in the Admin group.
-
Use playSound3D to play the sound only in an area And use setSoundMaxDistance to set the max distance (radius as you say) More info: https://wiki.multitheftauto.com/wiki/PlaySound3D
-
You can change them twice or once, if you have a backup mysql connection, you change the words after "or" with the details of the backup and the words in the commars from the brackets, with you main connection.
-
Vai nu! Te rog eu nu! Sa nu indrazneasca vre-un roman sa se duca sa infesteze si serverele straine, cu prostia romaneasca!
-
Replace your .db files as well?
-
Hello guys, I am using mta paradise so I can learn more scripting, and I've come across something I never knew how to do. addEvent( "items:drop", true ) addEventHandler( "items:drop", root, function( slot ) if source == client then if exports.players:isLoggedIn( source ) then local item = get( source )[ slot ] if item then local id = item.item local value = item.value local name = item.name or getName( id ) local x,y,z = getElementPosition(source) local ang = getPedRotation(source) local dim = getElementDimension ( source ) local int = getElementInterior ( source ) local obj = 1271 if(id == 1) then obj = 1581 elseif(id == 3) then if(value == 10) then obj = 2663 elseif(value == 30) then obj = 2663 end elseif(id == 4) then if(value == 20) then obj = 2647 else end elseif(id == 9) then if(value == 12) then obj = 1578 elseif(value == 13) then obj = 1575 else end else obj = 1271 end 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, int ) setElementDimension ( drop, dim ) take( source, slot ) local posx, posy, posz = getElementPosition ( drop ) exports.sql:query_insertid( "INSERT INTO dropitems (id, value, name, posx, posy, posz, int, dim) VALUES (" .. id .. ", " .. value .. ", " .. name .. ", " .. posx .. ", " .. posy .. ", " .. posz .. ", " .. int .. ", " .. dim .. ")") exports.chat:me( source, "drops a " .. name .. "." ) end outputChatBox( "This " ..name.. " has ID " .. slot .. ".", source, 0, 255, 0 ) end end end end ) This was supposed to save the items droped (the items do drop and there are no errors). I cannot say it looks good to me, because I don't know anything about saving into a mysql database. Even tho I drop the item, and it is droped, it doesn't save in the database, any ideas why?
-
[quote name=..&G:..]Sunt deja 10 topicuri legate de acest subiect
-
If you have localhost running, you need 1. the Paradise sql db structure imported, then to edit the 'sql' resource to specify the localhost adress and 2. potential other resources that use sql to specify the sql adress (depends on gamemode) You don't need to import any .sql file, as the script will create the tables if they don't exist. In the "sql" script, edit the following: local server = get( "localhost" ) or "localhost" local user = get( "root" ) or "root" local password = get( "passoword" ) or "password" --Change the "password" into your mysql password local db = get( "DB Name" ) or "DB Name" -- Change the "DB Name" into the name of your database local port = get( "port" ) or 3306 local socket = get( "socket" ) or nil Also, remember when you just made a mysql server, you need to GRANT ALL PRIVILEGES to root, look for that on google.
-
Unless you know a bit (more) scripting, I don't recommend you use MTA Paradise. It has a lot of bugs, and I am still trying to solve them (did most of them), which is a pain in the arse. You could go off and buy a proper gamemode from someone or use Socialz FairPlay gamemode.
-
Auziti... stiti ce nu inteleg eu? De ce forumul este folosit doar pentru a face topicuri gen "Serverele roleplay de azi" "Ce parere aveti de serverele RP" etc...? Sunt deja 10 topicuri legate de acest subiect
-
Car mods: https://community.multitheftauto.com/index.php?p= ... s&id=10294 https://community.multitheftauto.com/index.php?p= ... s&id=10293 https://community.multitheftauto.com/index.php?p= ... s&id=10292 DONE
-
That didn't work. I wank to make a button which makes an attached blip when clicked. Now, when you click it, it creates the blip, and when clicked again, creates another of top of the first one, but I want it to destroy the blip if the button is clicked the second time.
-
Hello, I want to know how to "else" a blip that is visible on the map. local blip = createBlipAttachedTo(vehicle, 12, 2, 255, 0, 0, 255, 0, 99999.0, source) I want to make like an "else" if the "blip" blip/element is visible on the map, I want to distroy it. Anyone got an idea how to do thaT?
-
I managed to find the problem. When a player is given an item by the script, it has to have a name/value like "Bank Card" or a name in the database. Now, I am trying to make each script name the items.
-
This is from the MTA Paradise gamemode, any ideas, any one how to fix it?
-
Anyone?