Oxsotus
Members-
Posts
39 -
Joined
-
Last visited
Everything posted by Oxsotus
-
Can somebody give me a working download link?
-
Hello! So i replaced this place: to this: (its from an other village) So as it looks like if i stand front of the bank, the objects do not appear, but if i go inside it seems to be everything fine but the players disappear in a line. And the same happening at the other side: Any idea how can i fix it if it possible?
-
It's a moving "movie" on the stuff, look around the stadion
-
What script? It's on the original map.
-
And how can I put/copy somewhere else the shader?
-
Hi! Someone know the ID of this animated slab? Image:
-
Hi! Which I write here, it's client side. I created a vehicle, and I want set the camera target the vehicle salecar = createVehicle ( kocsimodel, 20, 20, 4 , 0, 0, 0, "FOR SALE") setCameraTarget( salecar ) The car was created, but the camera was not set to the car.
-
Hi! How can I delete the bushes from the map? It's go into the hospital building, what was placed in Palomino Creek.
-
Hi! If I setElementData for the player in the first resource, I can get the data in the second resource, what I set in the first?
-
Thank! It's the first problem. The second: I write bad filepath.
-
Hi! I don't know, why it doesn't works. function createLoginWindow() background = guiCreateStaticImage(10,10,200,200,"bg.png", false) . . . . addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () -- create the log in window and its components createLoginWindow() -- enable the players cursor (so they can select and click on the components) showCursor(true) guiSetVisible(logreg_window, true) guiSetVisible(background, true) -- set the input focus onto the GUI, allowing players (for example) to press 'T' without the chatbox opening guiSetInputEnabled(true) end ) The picture doesn't loaded. There are only the login GUI Please help.
-
Hi! How can I set text, upper the player's head? Example they are talking, and the text is show upper the player. And, the text follow the player. What function is this?
-
Hi! How can I remove the original water, in MTA? Example in at the Hoover Dam there aren't any water, it's only a desert.
-
Hi! I wrote this, but I have 2 problems. First: This is the vehicle spawn. It's write an error: [2013-07-16 10:44:07] WARNING: rpg\main_jobs\radio\radio_kocsik.lua:34: Bad argument @ 'setElementData' [Expected element at argument 1, got boolean] [2013-07-16 10:44:07] WARNING: rpg\main_jobs\radio\radio_kocsik.lua:35: Bad argument @ 'setElementData' [Expected element at argument 1, got boolean] function radio_kocsik_spawnolasa() local x1,y1,z1 = 1201.80005,256,19.7 local x2,y2,z2 = 1199.30005,248.60001,19.7 radios1 = createVehicle ( 582, x1, y1, z1, 0, 0, 0, "RC-N-01", false, 10, 1) radios2 = createVehicle ( 582, x2, y2, z2, 0, 0, 0, "RC-N-02", false, 10, 1) local r_munka_id = 5 setElementData(radios1,"f_munka",r_munka_id) setElementData(radios2,"f_munka",r_munka_id) end addEventHandler ( "onResourceStart", getRootElement(),radio_kocsik_spawnolasa ) How can I set vehicle element data? The createVehicle is bad? Second problem: I deleted the setElementData... rows, to start the script, and it doesn't spawn the vehicles. ------------------------------ I foul the create vehicle... the good: radios1 = createVehicle ( 582, x1, y1, z1, 0, 0, 0, "RC-N-01") radios2 = createVehicle ( 582, x2, y2, z2, 0, 0, 0, "RC-N-02") I thinked the variant1 and varient2 is the color...
-
Hi! How can I switch off the standar /me and replace it with my own /me? function blockChatMessage() cancelEvent() end -- attach it as a handler to onPlayerChat addEventHandler( "onPlayerChat", getRootElement(), blockChatMessage ) It's blocked the standard /me, but it's blocked my /me too. function meChat(player,_,...) if(...==nil) then outputChatBox("Használat: /me szöveg",player,255,90,90) end if(...~=nil) then getCSD() local px,py,pz=getElementPosition(player) local msg = table.concat({...}, " ") for _,v in ipairs(getElementsByType("player")) do if isPlayerInRangeOfPoint(v,px,py,pz,shoutRadius) then outputChatBox(csd[getElementData(player,"player_ID")].name.. "#cf4ca1 *"..msg.."*", v,255,150,150,true ) end end end end addCommandHandler("me",meChat)
-
Hi! How can I add new objects to MTA? I replace the model: local dff1 = engineLoadDFF('lvhouse1.dff', 19497) local dff2 = engineLoadDFF('lvhouse1int.dff', 19498) engineReplaceModel(dff1, 19497) engineReplaceModel(dff2, 19498) So, not replace, because the 19497 is empty, but it isn't write an error at replace. When I want to create the object, it's has an error. [2013-07-14 05:35:39] WARNING: rpg\start_server.lua:11: Bad usage @ 'createObject' [invalid model id] [2013-07-14 05:35:39] WARNING: rpg\start_server.lua:12: Bad usage @ 'createObject' [invalid model id] How can I add the ID "19498" to the server?
-
Hi! How can I do this?: I press the key T, and if I write a text without a slash, it write in IC. But if I write a permission, it doesn't write the permission to the IC chat. There are an example somewhere?
-
Hi! My question is, can I add new skins in MTA? 299-399: there are nothing, so it's free. Example can I add a new skin to 350?
-
Hi! I had problem. The all player data's in stored the table: psd (player's data) So, if one player joined the game, the variable player_ID = line of the table, where the player data's stored. If another player join, the player_ID is changed to the another player's line number, and the first player, have the another players's data.
-
Hi! How do I get, which car the player enter? vehicle = {createVehicle...,createVehicle,.......}