-
Posts
265 -
Joined
-
Last visited
Everything posted by Fury
-
local x,y = guiGetScreenSize() and check viewtopic.php?f=91&t=41865&p=423999#p423999
-
thanks, i think i solve the problem. this is came from ren172's shader panel. i deleted it and it seems to be normal. thanks again. That seemed to have something to do with the "mirror bug/interior bug using depth buffer". The devs must have fixed thatby now. You might download the newest shader panel version and see if it works properly now - even if it this particular bug might not be fully fixed, the said effects are not compiled until they are enabled in menu now (DoF and water ref). So just disabling the in config will make the game work correctly. Any feedback appreciated. sorry for too late feedback; your script works fine at 1.3.3. i think this was from 1.3.2. thank you for your answer.
-
do not use "*". read this; viewtopic.php?f=91&t=41865&p=423999#p423999
-
Hello, i have made a training gamemodes for race maps. its totally different gamemode and written by me. if you like it i can sell with a good price. to test and play the gamemode; mtasa://78.46.175.41:19033 skype; pinkus-floydus pictures;
-
yep it worked, thank you for helping. i learn a lot of stuff that i didnt know.
-
function createpickups(pickups) for _,v in pairs(pickups) do if v.type == "nitro" then marker = createMarker(tostring(v.posX),tostring(v.posY),tostring(v.posZ),"checkpoint",1.5,255,0,0,255) setElementData(marker,"nesinsen","nitro") elseif v.type == "repair" then marker = createMarker(tostring(v.posX),tostring(v.posY),tostring(v.posZ),"checkpoint",1.5,0,255,255,255) setElementData(marker,"nesinsen","repair") elseif v.type == "vehiclechange" then marker = createMarker(tostring(v.posX),tostring(v.posY),tostring(v.posZ),"checkpoint",1.5,255,255,0,255) setElementData(marker,"nesinsen","vehiclechange") setElementData(marker,"degistirilecekaraba",v.vehicle) end pickuplar[marker] = true end end -- function markers(hitPlayer,marker) local neci = getElementData(marker,"nesinsen") if neci == "nitro" then outputChatBox("nitro") elseif neci == "repair" then outputChatBox("repair") elseif neci == "vehiclechange" then local araba = getElementData(marker,"degistirilecekaraba") outputChatBox("vehiclechange") outputChatBox(araba) end end addEventHandler("onClientMarkerHit",getRootElement(),markers) hello, i have problem at elementdata functions. it doesnt set and get element data.. can you help me?
-
you can use onPlayerPickUpRacePickup and setElementPosition i think.
-
well thats me thanks for the tips, i solve the problem
-
InResultQueue > 200000 pkts. This is due to server overload or another problem what the f*ck is that mean? somebody join my server and write something and this is output to logs. what is that? my server is 1.3.2
-
thanks, i think i solve the problem. this is came from ren172's shader panel. i deleted it and it seems to be normal. thanks again.
-
this is happening to one of my server player. do you think whats the problem?
-
its possible i saw at one server.
-
i think you can do with shaders. but not with .avi or .wmv format.
-
this is working for me, you did mistake at onMarketHit event and function. you have to define the market at here; addEventHandler ("onMarkerHit", root, onHit) should be addEventHandler ("onMarkerHit", your-marker, onHit)
-
well you have to write element name at client side too. if you dont want you can use this one; locations = { {459.93146, 888.78650, -27.64281}, {507.28488, 971.90436, -24.47141}, {664.53302, 721.46564, -4.02670}, } addEvent ("createLoc", true) addEventHandler ("createLoc", root, create) function create() local x, y, z = unpack ( locations [ math.random ( #locations ) ] ) if getTeamName (getPlayerTeam(source)) == "Workers" then marker = createMarker (x, y, z, "cylinder", 2, 255, 255, 0, 255) blip = createBlipAttachedTo( marker, 0, 2, 0, 250, 0, 170 ) end end addEventHandler ("onResourceStart", root, create) function onHit() if getTeamName (getPlayerTeam(source)) == "Workers" then triggerEvent ("pay", getRootElement(), onHit) destroyElement (blip) destroyElement (marker) triggerEvent ("createLoc", root, onHit) end end addEventHandler ("onMarkerHit", root, onHit)
-
locations = { {459.93146, 888.78650, -27.64281}, {507.28488, 971.90436, -24.47141}, {664.53302, 721.46564, -4.02670}, } addEvent ("createLoc", true) addEventHandler ("createLoc", root, create) function create(thePlayer) -- you forget to define element local x, y, z = unpack ( locations [ math.random ( #locations ) ] ) if getTeamName (getPlayerTeam(thePlayer)) == "Workers" then marker = createMarker (x, y, z, "cylinder", 2, 255, 255, 0, 255) blip = createBlipAttachedTo( marker, 0, 2, 0, 250, 0, 170 ) end end addEventHandler ("onResourceStart", root, create) function onHit(thePlayer) -- you forget to define element if getTeamName (getPlayerTeam(thePlayer)) == "Workers" then triggerEvent ("pay", getRootElement(), onHit) destroyElement (blip) destroyElement (marker) triggerEvent ("createLoc", root, onHit) end end addEventHandler ("onMarkerHit", root, onHit)
-
my friend says that; server-side scritps are downloaded? or what?
-
did you check guiSetInputEnabled() ?
-
hey, i want to translate community to turkish language. there is a lot of turkish users at community. so how can i do it? would you please help me?
-
addEventHandler('onPlayerJoin',root, function () local banList = getBans() for banID, ban in ipairs ( banList ) do local hisSerial = getBanSerial ( ban ) local hisIP = getBanIP ( ban ) local banner = getBanAdmin(ban) if (getPlayerSerial(ban)==hisSerial) then triggerClientEvent(ban,'bans:heJoinedAndIsBanned',ban,banner,hisIp,hisSerial) end end end ) not tested. it can be wrong, im not sure.