-
Posts
56 -
Joined
-
Last visited
Everything posted by FlorjanMTARP
-
That'd be cool. Could you give me the link? I'm about to get to that part
-
It is a new server which is in development. Join the forums and introduce yourself as a developer.
-
You can help alot. If you own 3DS Max , 3D modelling studio could you make some planes and put textures on it? I need floors and walls Tho' The progress is really big! I'm thinking of putting it into the community.
-
I've already scripted like the first step which is the GUI to buy it. And yes, I will make it able to move around with arrows. Up and down with scrolls. The server I'm working with: www.mta-roleplay.com , My name is Edward.
-
Im going to make it simplee. I will make a aGUI with list of objects u can place, if u buy it , it will be placed infront ofyou.
-
Last weeks Im doing very good on scripting. So I thought about a big thing which is FURNITURE. I want to make specific sandbox areas which will have the ability to buy and place objects very neat. I NEED ADVICES OR EVEN STARTING CODES. Thanks
-
Thanks! You deserve a big respect!
-
Hello dear MTAers, I really want to know how to edit the F11 map for any1 who enters the server, Not just for me. Are there any codes to do or whatever? If yes, Please do them because I don't remember any codes anymore, The last time I've scripted was 2 years ago so please help me asmuch as you can. I would appreciate it hard! Sincerely, Florjan
-
First of all;It's Christmas Second of all;Alot of people celebrated it last year, As I was one of them,It was a big moment with fireworks and stuff. P.S. I won't mention the server. Third of all;It was ment for people who wanna have fun + I didn't mention the time.It's probably not gonna be the evening as the evening is time for the family celebrating.
-
Christmas Party Alright,Firstly of all I'd like to give a special welcome to the readers. Alright,Let's get to the topic. Me and my friend GamingTim are now coming up with another great idea,for the Christmas in 2013! So,We've decided to make a special gamemode called "Christmas Party"! Having the following features: -Falling snow,When hitting the ground it rises ; -Nice,Live music on a big visualiser; -Loads of events -A bar(Food stuff,you know) -Dance floor -A BIG Christmas Tree -Present models -New skins You also feel free to suggest more! So,We want you to come in as biggest number of players as possible so we will have to remember it for alot of time! Server information comes out 1week before the christmas (18th of December). Sincerely Snip4S# !
-
Thanks,I appreciate your hard work and your contributing towards MTA.
-
That's what I did. I wrote end in all possible ways but none worked.
-
Well I have another error. I've inserted the GUI and now it says that: ERROR: Loading script failed: drink/drink.lua:68: 'end' expected (to close "if" at line 59) near 'eof' The code: setDevelopmentMode(true) function createCol() local x, y, z, width, depth, height = 2184.70, -3279.12, 1684.65, 10, 5, 10 -- Define its position and size. tCol = createColCuboid( x, y, z, width, depth, height) end addEventHandler('onClientResourceStart', getResourceRootElement(getThisResource()), createCol) addEventHandler('onClientColShapeHit', getRootElement(), function() if (source == tCol) then outputChatBox('Hit') -- DESIGN -- bg = guiCreateStaticImage(0.32, 0.14, 0.35, 0.68, "img/bg.png", true, border) border = guiCreateStaticImage(0.36, 0.18, 0.27, 0.0015, "img/border.png", true) drinks = guiCreateLabel(0.445, 0.15, 0.19, 0.03, "DRINKS & FOOD", true) -- FOOD -- salad_meal = guiCreateStaticImage(0.34, 0.21, 0.06, 0.09, "img/salad_meal.png", true) sm_n = guiCreateLabel(0.41, 0.21, 0.14, 0.03, "Cold Salad Meal", true) sm_t = guiCreateLabel(0.41, 0.24, 0.19, 0.05, "Salad Meal is most healthy of all.", true) sm_t2 = guiCreateLabel(0.41, 0.26, 0.19, 0.05, "Price: $15", true) buySM = guiCreateStaticImage(0.61, 0.27, 0.05, 0.03, "img/buy.png", true) guiSetEnabled( bg, false ) guiSetEnabled( border, false ) guiSetEnabled( drinks, false ) guiSetEnabled( salad_meal, false ) guiSetEnabled( sm_t, false ) guiSetEnabled( sm_t2, false ) guiSetEnabled( sm_n, false ) -- Nadpis jidelnicku -- WalkWay = guiCreateFont( "ww.ttf", 20 ) guiSetFont( drinks, WalkWay ) -- Nadpis jidel -- WalkWay2 = guiCreateFont( "ww.ttf", 15 ) guiSetFont( sm_n, WalkWay2 ) -- Text jidel -- WalkWay3 = guiCreateFont( "ww.ttf", 11 ) guiSetFont( sm_t, WalkWay3 ) guiSetFont( sm_t2, WalkWay3 ) addEventHandler ( "onClientGUIClick", buySM, boughtSM, false) end -- CLICK -- -- SALAD MEAL -- function boughtSM ( button ) if button == "left" then local g_Money = getPlayerMoney() -- define it inside the function. if ( g_Money >= 15 ) then -- >= greater than or equal to. outputChatBox ("#ffffffYou bought Salad Meal", 255,255,255, true ) takePlayerMoney (15) else outputChatBox ("#ff0000Sorry, you have not got enough money", 255,255,255, true ) -- takePlayerMoney (0) -- no need for this. end end) Damn.. I tried so many ways to fix it but none comes out good.
-
Thanks dude
-
Where shall I insert it? I ended scripting 2years ago and I lost my skills,now I got invited as a dev + racer at a server and I wanna finish that. I really need that.. An example please.. Peace,Florjan
-
I'll try
-
Alright,I'm planning to code the line which will open a GUI on a location. I've set this: local g_Distance = getDistanceBetweenPoints3D if ( g_Distance <= 5 ) then So,The distance is 5. Now the whole script: function drink () outputChatBox("true") showCursor( false ) local g_Distance = getDistanceBetweenPoints3D if ( g_Distance <= 5 ) then outputChatBox ("Welcome to the Bar!", 255,255,0, true ) end -- DESIGN -- bg = guiCreateStaticImage(0.32, 0.14, 0.35, 0.68, "img/bg.png", true, border) border = guiCreateStaticImage(0.36, 0.18, 0.27, 0.0015, "img/border.png", true) drinks = guiCreateLabel(0.445, 0.15, 0.19, 0.03, "DRINKS & FOOD", true) -- FOOD -- salad_meal = guiCreateStaticImage(0.34, 0.21, 0.06, 0.09, "img/salad_meal.png", true) sm_n = guiCreateLabel(0.41, 0.21, 0.14, 0.03, "Cold Salad Meal", true) sm_t = guiCreateLabel(0.41, 0.24, 0.19, 0.05, "Salad Meal is most healthy of all.", true) sm_t2 = guiCreateLabel(0.41, 0.26, 0.19, 0.05, "Price: $15", true) buySM = guiCreateStaticImage(0.61, 0.27, 0.05, 0.03, "img/buy.png", true) guiSetEnabled( bg, false ) guiSetEnabled( border, false ) guiSetEnabled( drinks, false ) guiSetEnabled( salad_meal, false ) guiSetEnabled( sm_t, false ) guiSetEnabled( sm_t2, false ) guiSetEnabled( sm_n, false ) -- Nadpis jidelnicku -- WalkWay = guiCreateFont( "ww.ttf", 20 ) guiSetFont( drinks, WalkWay ) -- Nadpis jidel -- WalkWay2 = guiCreateFont( "ww.ttf", 15 ) guiSetFont( sm_n, WalkWay2 ) -- Text jidel -- WalkWay3 = guiCreateFont( "ww.ttf", 11 ) guiSetFont( sm_t, WalkWay3 ) guiSetFont( sm_t2, WalkWay3 ) addEventHandler ( "onClientGUIClick", buySM, boughtSM, false) end -- CLICK -- -- SALAD MEAL -- function boughtSM ( button ) if button == "left" then local g_Money = getPlayerMoney() -- define it inside the function. if ( g_Money >= 15 ) then -- >= greater than or equal to. outputChatBox ("#ffffffYou bought Salad Meal", 255,255,255, true ) takePlayerMoney (15) else outputChatBox ("#ff0000Sorry, you have not got enough money", 255,255,255, true ) -- takePlayerMoney (0) -- no need for this. end end end So,All I want to do is. When the player gets closer to Ped,It opens the GUI. Peace, Florjan
-
GTA V already has multiplayer and It is also included in GTA V for PC which releases (For the ones who preordered) on 22th November 2013.
-
Nice one,It will be great to create maps for this gamemode.Like,A custom definiton at the Map Editor.
-
Data Roleplay: Realistic Economy - Realistic Rules
FlorjanMTARP replied to Sane-Hosting's topic in Servers
Good luck with it,I'll give it a visit maybe. -
Jesam Slovenac i neznam dobro Hrvatsko :' /
-
The Best Host I've Ever Had!! [VortexServers.com]
FlorjanMTARP replied to AJXB's topic in Hosting solutions
Can you add "Paysafecard" please?Woul dbe my pleasure,you would be the first at MTA who would have it and many in Slovene wants to buy server with it,So is it possibru? -
It says that It's invalid resource
-
Can you list them please?Also thank you I was looking for them long time =)
-
I Didnt mean it like in the case you've told,like PMing me just for informations like going to help me growing up server and also help me sharing.