-
Posts
2,608 -
Joined
-
Last visited
Everything posted by 12p
-
No. Varez's compiler is just bugged.
-
50p's Unofficial MTA Script Editor Updated Libraries Will redo this later.
-
[RSGP] Free Server Hosting! || THIS DEAL IS OVER!! ||
12p replied to Thomas_Matthew's topic in Hosting solutions
I didn't read well haha -
Tires can't be invincible, as I know.
-
1. Your code is wrong. Right one: function getPointRank ( points ) local rank = "No Rank" if points >= 10000 then rank = "Super Mega Rank with 10000 or more points" elseif points >= 2000 then rank = "Super Rank with 2000-9999 points" elseif points >= 1000 then rank = "Rank with 1000-1999 points" elseif points >= 500 then rank = "Second Rank with 500-999 points" elseif points >= 0 then rank = "First Rank with 0-499 points" end return rank end 2. Explain better what do you mean! Use http://www.ajaxtrans.com, that translator beats all others.
-
I have just installed 1.1 and I see there is an option for to use "Skins" (it's such an excellent option, I say A LOT OF THANKS !). So, where to get more?
-
[RSGP] Free Server Hosting! || THIS DEAL IS OVER!! ||
12p replied to Thomas_Matthew's topic in Hosting solutions
EXTREMELY POOR RAM Memory. Only 512 MB means you can run basic gamemodes that doesn't use too much resources on PC hardware, like Freeroam. If you want to run complicated, complex gamemodes, this will be useless... -
It's "joinquit", comes with MTA Resources.
-
Removed*
-
I have tried to find that function (getWeaponAmmo) but the only I did can find are these: getPedAmmoInClip getPedTotalAmmo setWeaponAmmo takeWeaponAmmo giveWeaponAmmo So, how can I get all ammo in a specified weapon? getPedTotalAmmo retrieves ALL WEAPONS' ammo so it doesn't help me. PS: To be more specific, I want to retrieve "clip + non-clip" weapon's ammo.
-
"Noob" language translation to english: "Hello, here I am and I want to make a house system with pickups that must be clicked to open the house status window. And I want DX Drawing objects in the 3D world like in Dakilla's House System. Can you help me?" Jumper_Mych: http://www.ajaxtrans.com
-
Have you tried logging in on other servers? If you can then Valhalla is bugged.
-
function teamBlipColor(source) playerTeam = getPlayerTeam" class="kw2">getPlayerTeam(source) local attachedElements = getAttachedElements(source) if attachedElements and #attachedElements > 0 and playerTeam then for k,v in ipairs(attachedElements) do outputChatBox("The No. "..tostring(k).." element is a "..getElementType(v)..".") if getElementType(v) == "blip" then local r,g,b = getTeamColor(playerTeam) setBlipColor(v, r, g, b, 255) outputChatBox ("Your blip set its color rightly!") end end end end addCommandHandler("teamcolor", teamBlipColor) You could use too: setElementID getElementByID
-
function teamBlipColor(source) local r,g,b playerTeam = getPlayerTeam" class="kw2">getPlayerTeam(source) local attachedElements = getAttachedElements(source) if attachedElements and playerTeam then for k,v in ipairs(attachedElements) do if getElementType(v) == "blip" then local r,g,b = getTeamColor(playerTeam) local setBlipColor(v, r, g, b, 255) end end end end addCommandHandler("teamcolor", teamBlipColor) Forum bug.
-
Try this: function carspawn ( ) handler = mysql_connect("localhost", "table", "pass", "user") cars = mysql_query(handler, "SELECT * FROM vehicles" ) pCars = mysql_fetch_row( cars ) for i, cars in pairs (pCars) do createVehicle( cars.i[model], cars.i[posx], cars.i[posy], cars.i[posz] ) end if (not cars) then outputDebugString("Error executing the query: (" .. mysql_errno(handler) .. ") " .. mysql_error(handler)) else mysql_free_result(cars) end end carspawn()
-
Gonna test! OMG this was my script (basing myself on normal "minecraft block placing" without modifications "tweaks"): function getClearPosition (pl,px,py) local x,y = getElementPosition(pl) --Distances between X and Y points local = x - px local yd = y - py --If the distance between X or Y points is more than 1 player won't get bug with cube collision --The clear X or Y point is "zero - distance" divided by "the distance's absolute value" --This point returns a "1" integer that has the right type (negative or positive) if math.abs() > 1 then finalX = round(( / math.abs()) + px) --"+ px" because I want to put it next to the cube I click on. end if math.abs(yd) > 1 then finalY = round((yd / math.abs(yd)) + py) end if finalX and finalY then return finalX,finalY else return false,false end end
-
Not only you, many others said I should keep this work on so I just decided to. Thx for your interest you're a good friend
-
Edit the first post instead of giving new one.
-
Delux Host: cheap, reliable and safe game server hosting
12p replied to DeluxHost's topic in Hosting solutions
Your FTP Client needs to set CHMOD to "777" on every file uploading. If you use WebFTP it will work. -
Ok I'm actually working on Minecraft Classic gamemode. I can't make 1 thing, I have been working hours and hours and I can't find the solution to this problem. I don't know what code it's supposed I give you so you tell me with the following ideas of my script (because I may pass you an useless part and you-me don't want to show whole code): -Using a cursor "mode". -Clicking on a perfect 1x1x1 cube that is placed on a perfect 3D grid. -Checking cube's face. -Creating a cube next to that cube face. You tell me what I must show, I will do. Please help me, I can't progress with this damn script!
-
Lol you made maaaaaaaaaaaany suggestions I like the first one but IDK if it can be done
-
Learn how to script on LUA.
-
I'm sure he wants to place peds from the map editor. But actually can be done by using EDF.
-
Benox, please read the first post and compare Minecraft Versions. Actually I'm working on CLASSIC MINECRAFT, it is this version: http://www.minecraft.net/play.jsp I will ask the new cubes when I end this Classic Version, I'm extremely busy and stressed with the object positionating system...