-
Posts
199 -
Joined
-
Last visited
Everything posted by joaosilva099
-
local crMarker = createMarker(1863.6999511719,-1598.6999511719,12.89999961853, 'cylinder', 2, 255, 0,0, 150) setElementVisibleTo (crMarker, root, false ) for k, v in ipairs(getPlayersInTeam(getTeamFromName ("Criminal"))) do setElementVisibleTo (crMarker, v, true) end
-
Forget it. Already fixed that... For those who may have the same problem just add a check do the texture var because it will return false if the player has no clothes in that clothes slot.
-
Please guys, tell me what is wrong... I can't output that! addCommandHandler("getClothes", function (source) clothesmodel = {} clothestxt = {} skin = getElementModel(source) if(skin == 0) then for i=0, 17 do ct, cm = getPedClothes(source, i) table.insert(clothesmodel, cm) table.insert(clothestxt, ct) end end stringr = tostring(table.concat(clothesmodel, ", ")).." | "..tostring(table.concat(clothestxt, ", ")) outputChatBox(stringr) end) DS3: Invalid value (boolean) at index 5 in table for 'concat'
-
My images will have no more than 30KB size. And CiBeR is right. The query just takes longer if i am using that table wich will only contain reports. Other tables may work fine
-
What do you mean? you can buy VPS for 2€ Should I choose less RAM?
-
Because I didn't even know for what the BLOB data type was. (Google helped me AGAIN!) THANKSSSS
-
Hmm... it would spend BandWidth everytime a player takes a screenshot... and that noobs can spam F12 and lag everything
-
Hi all! This time I am trying to make a report system with screenshot support. First, I though using onPlayerScreenShot and save the imageData to a database, then I discovered that I can't convert image data to text. I don't want to spend too much disk space with images. How can I do that?
-
Well... I have been searching and thinking and I ended up with this configuration: What do you say? Is it good? Is not too cheap? (i am pretty shifty about that...) EDIT: I searched in google for that company and I realy didn't found any "questions" related to stealing money, etc... And also that company is in server hosting provider suggested by MTA. Should I belive?
-
Thanks. I was thinking on it too. Less graph less ram consumption right? But, since i do not know any linux command i would need help to install the mysql db and the server...
-
Check the FB page. Today was hard work day, from 8AM +/- to 11PM!
-
STORM:RPG - Novo Servidor de MTA!
joaosilva099 replied to joaosilva099's topic in Servidores para jogar
Vejam os novos screens na pagina do facebook. Hoje foi dia de trabalho duro! -
Thanks all. Tons of info arrived!! Should i choose windows or linux?
-
STORM:RPG - Novo Servidor de MTA!
joaosilva099 replied to joaosilva099's topic in Servidores para jogar
Claro q sim! Me deixe so fazer os trabalhos que eu abro . Me adicione no skype: joaosilva992 -
STORM:RPG - Novo Servidor de MTA!
joaosilva099 replied to joaosilva099's topic in Servidores para jogar
WOW! Muito obrigado, nunca esperei ouvir um elogio desses, muito obrigado mesmo! Acabou de subir a minha autoestima imenso. Muito obrigado irmão!! -
STORM:RPG - Novo Servidor de MTA!
joaosilva099 replied to joaosilva099's topic in Servidores para jogar
@lekroots ta no fim do primero post -
You can see the page even if not registered
-
Thanks again @manawydan =D. Screens posted in FB page. Check it and like the page :3
-
Sorry for posting in wrong place, pelase someone move this to the server advertise board. Sorry
-
STORM RPG - New MTA Server! http://i.imgur.com/s6JIOIE.png Good morning everyone! These days I've been thinking about creating a RPG server from scratch. I know it's not easy but since May +/- I have been learning LUA (MTA) and I'm already familiar with the process, however, I'll need someone else to help me in this new adventure! Introduction I thought of creating a server with jobs, clans, and pay particular attention to the police and criminal jobs! The server will be all in English (don't worry, the Portuguese will not be forgotten) since it is more easy understanding in the world. Resources The server should have: Jobs Bank Temporary Vehicles spawner Vehicle Shops Inventory Trade system Used vehicles shop (players can trade vehicles with other players) Jail (Map + Script) Drug delivery and other criminal scripts Prisioners transport and other police scripts VIP system Bank Robbery Casino Robbery Other scripts... All advanced scripts will be scheduled by the server programmers, only the most basic will be downloaded from the community! All scripts will be based on MySQL to work. This is because all the information is gathered in one place so accessible from anywhere in the world, while SQLite is just a file that can only be "treated" by the game. Staff Right now I only have me as Staff, I have a friend who does not realize much programming, just play MTA and talked to him, he will be the tester of scripts (find bug's, etc ...). I need to get interested and trusted people to take this protect forward, including: DX Profesional Invester (*1) Programmer (to work with me) Designer (Photoshop) Moderators. (*1) - I need a person with ability to secure me a host for 3 to 4 months, after which the server should start producing profit and achieve self sustain itself. The investor will be part of Staff, and will have all the benefits in the game as a VIP maximum level, when the server start producing income, the investor will be paid. Conclusion The goal of the server is entertain people and, at the same time ensuring my retirement (joke ahah) so any day will be on top of the MTA servers. Follow all Updates on Facebook! http://www.facebook.com/mta.stormrpg
-
STORM:RPG - Novo Servidor de MTA!
joaosilva099 replied to joaosilva099's topic in Servidores para jogar
Criei um FB para o projeto, pasem por la e ponham gosto sff -
Just think a little bit... when a player stops aiming at all, it will stop aiming of the object too...
-
Try this event, not tested... addEventHandler("onPlayerTarget", getRootElement(), function (target) if(not target) then --DO WHAT YOU WANT TO DO WHEN PLAYER STOPS TARGET HERE! end end) Change getRootElement() for your player if you want
-
Use something like a timer. Try this: (not tested) marker =createMarker(-23.4414,-55.150,1002.5468,"cylinder", 1.5, 250,0,0, 255 ) setElementInterior( marker,6,-23.4414,-55.150,1003.5468) function output() outputChatBox ( "*To Rob this shop use /robshop", getRootElement(), 255, 0, 0, true ) end addEventHandler( "onMarkerHit", marker, output ) cooldown = {} timeleft = {} function rober(thePlayer, matchingDimension) if (not isTimer(cooldown[thePlayer]) then if isElementWithinMarker(thePlayer, marker) then outputChatBox ( "robbery attempt success", getRootElement(), 0, 255, 0, true ) givePlayerMoney (thePlayer , 15000) setPlayerWantedLevel ( thePlayer, 6 ) cooldown[thePlayer] = setTimer(function () end, 10000, 1) destroyElement ( marker ) else outputChatBox("get in the marker to rob this shop", thePlayer, 255, 0, 0) end else left, _, _ = getTimerDetails(cooldown[thePlayer]) timeleft[thePlayer] = math.floor(left) outputChatBox("You need to wait 10s between each rob! time left: "..timeleft[thePlayer].."s", thePlayer, 255, 0, 0) end end addCommandHandler("robshop", rober)
-
Yea. it took discussion proportions. At least it teachs me something, and I hope it teaches someone more!