-
Posts
6,097 -
Joined
-
Last visited
-
Days Won
218
Everything posted by IIYAMA
-
I don't understand the problem. Markers only for one team? and gui will be visible when a player joins?
-
To answer your question, you can't. The function from itoko, can fix the position of your custom hud/image in combination with the original hud.
-
You mean something like this? for index,blip in pairs(blips) do local x, y, z = blip[1], blip[2], blip[3] if index <= 12 then local blipizza = createBlip ( x, y, z, 29, 0.5, 0 ,0, 0, 0, 0, 400 ) setBlipSize ( blipizza, 0.5 ) elseif index <= 24 then local blipcluckinbell = createBlip ( x, y, z, 14, 0.5, 0 ,0, 0, 0, 0, 400 ) setBlipSize ( blipcluckinbell, 0.5 ) elseif index <= 34 then local blipburgershot = createBlip ( x, y, z, 10, 0.5, 0 ,0, 0, 0, 0, 400 ) setBlipSize ( blipburgershot, 0.5 ) end end
-
Why would we? This only shows us how lazy you are.
-
red line thingy or real colshape? For the red lines there are settings in the menu to enable them. Bounding box or something like that. What do you want to config with the edf? The water will be set from the meta settings.
-
local sx, sy = guiGetScreenSize ( ) local LastTick = 1000 local DXToRender = 0 addEventHandler ( "onClientRender", root, function ( ) local lc = getTickCount ( ) if ( lc-LastTick >= 1000 ) then LastTick = lc DXToRender = 30 end if DXToRender > 0 then dxDrawText ( lc, 0, 0, sx, sy, tocolor ( 202, 202, 202, 255 ), 3, "default-bold", "center", "center" ) DXToRender = DXToRender-1 end end ) You forgot to set how many frames it have to render.
-
lol? new function? thank you
-
why would you do: cancelEvent() I see no reason to do that for these lines. When the event got executed it is already to late for this function.
-
http://imageshack.us/photo/my-images/692/2sn.png/ http://imageshack.us/photo/my-images/543/7o2f.png/
-
The new function HUD Match Aspect Ratio is ruining my directX hud. I positional the hud relative so it would fit for everybody in combination with the normal hud. But now this new function moves my (default)hud down and it will overflow. Is there any way to solve this? Else it would mean that I have to make my whole hud dx. My deadline for my beta spy vs spy gamemode is Sunday. thank you for reading and I hope you have a solution for me.
-
local accountCheckQuery = mysql:query(accountCheckQueryStr) -- get database account Script problem: mysql:num_rows(accountCheckQuery) -- returns boolean = false/true at the moment if mysql:num_rows(accountCheckQuery)>0 then -- here you are comparing the boolean with the number 0. and how the solve it? I have no idea, because this is the result from something that went wrong at another part of the script.
-
Then you are at the wrong section mate, Resources Put your resources here: MTA San Andreas 1.3\server\mods\deathmatch\resources
-
Why don't you first run a test? Check if the name is correct. addEventHandler('onPlayerConnect', root, function() local country = exports.admin:getPlayerCountry(source) outputChatBox(tostring(country) or "problems with admin, failed to receive correct information") end ) Tell me what it returns in the chatbox.
-
I may not need any support at all, but about what kind of support are you talking about?
-
The problem: setWeaponProperty doesn't make changes, in weapon range and accuration and everthing else. The result ends up "true", that means that it have to work. But it doesn't change a damn. local weapon1 = createWeapon ( "m4",0,0,5 ) outputChatBox("result: " .. tostring(setWeaponProperty ( weapon1, "accuracy", 0.00001)).. " accuracy have been succesfull set") outputChatBox ("result: " .. tostring(setWeaponProperty ( weapon1, "weapon_range", 0.00001)) .. " weapon_range have been succesfull set") setWeaponState (weapon1, "firing")
-
You have no idea what I have created in the past, I AM NOT A NAB SCRIPTER. TAKE ME SERIOUSLY!@! -_-"
-
Does that mean it only supports "damage", If that is true, then wiki mta is very unclear. -_-" I script client side. pls take me seriously, I am not a nab.
-
It is already working. Strange temporary driver problem. Well you need to add the lua file to the meta.xml. I can script normal, I don't make much of that stupid mistakes.
-
both are correct. Normally that is in my vehicle weapon script. Does it work for you, changing them? (I get the boolean true returned, but it doesn't change anything)
-
everything defined? vehID, vx, vy, vz, 0, 0, vrot
-
Why don't setweaponproperty from custom weapons work? somebody does have the same problem? meta: local weapon1 = createWeapon ( "m4",0,0,0+5 ) setWeaponClipAmmo ( weapon1,99999) setWeaponProperty ( weapon1, "accuracy", 0.00001) setWeaponProperty ( weapon1,"weapon_range", 0.00001) setWeaponState (weapon1, "firing")
-
Hmm nvm, I have no Idea what did just happened, but it seems like my drives didn't work. Probably because I changed my headset to box set. Never had this problem before. -_-" Really strange that it can conflict lua scripts.
-
My sound script some how stopped working, I have no Idea why, it just did. meta.xml <file src="material/music/Spy_vs_Spy_main2.mp3"/> introMusic,soundState = playSound("material/music/Spy_vs_Spy_main2.mp3", true),true if not introMusic then outputChatBox("introMusic doesn't exist " .. tostring(introMusic)) -- this one will output in the chat box end --as extra test: if not fileExists ( "material/music/Spy_vs_Spy_main2.mp3", true) then outputChatBox("introMusic doesn't exist ") else outputChatBox("sound does exist!!") -- this one will also output in the chatbox. end so I am really confused, I changed some things, but I can't see my mistake.
-
Learn the basic first, instead of requesting scripting modifications (of work from other people).
