Anubhav
Members-
Posts
2,277 -
Joined
-
Last visited
Everything posted by Anubhav
-
Ye . Change triggerServerEvent line to: triggerServerEvent("KillAttacker", source, source )
-
Server if vehicleID == 520 and getPlayerTeam(source) then if getTeamName(getPlayerTeam(source)) == 'Red team' then texture = 'Red' elseif getTeamName(getPlayerTeam(source)) == 'Blue team' then texture = 'Blue' else texture = "None" end return triggerClientEvent(source, 'applyHydraTexture', source, vehicle, texture) end Client myShader = dxCreateShader( "hello.fx" ) red = dxCreateTexture("hydrabody256-red.png") blue = dxCreateTexture("hydrabody256-blue.png") addEvent("applyHydraTexture", true) addEventHandler("applyHydraTexture", root, function(vehicle, tex) local thePlayer = source local theVehicle = vehicle if thePlayer and theVehicle then if tex == 'Red' then engineApplyShaderToWorldTexture( myShader, "hydrabody256",getPedOccupiedVehicle(thePlayer) ) dxSetShaderValue(myShader, "gTexture", red) elseif tex == 'Blue' then engineApplyShaderToWorldTexture( myShader, "hydrabody256",getPedOccupiedVehicle(thePlayer) ) dxSetShaderValue(myShader, "gTexture", blue) else return end end end )
-
or: If empty then ( change it so tat is adds items again, loop through the table then add them all again. Remember to clear it. ). Get gridlist's row, and loop ( for i=0, gridlistrow do ) then get the text of column if it's there then keep it else remove it. And for edit change, onClientGUIChanged
-
local marker = createMarker(2064.46924,-1831.39221,13, "cylinder",2,255,255,0) addEventHandler("onMarkerHit",marker, function(thePlayer) if isElement( thePlayer ) and getElementType( thePlayer ) == "player" and getPedOccupiedVehicle( thePlayer ) then local veh = getPedOccupiedVehicle(thePlayer) fixVehicle(veh) end end)
-
Ye I like that
-
Buy a VPS from OVH or Delta Hosting and run on it.
-
aglah mahlaa exams. ._.
-
I realy don't get it too. Any examples? Simple one can help many people who are noobs in shaders.
-
No, I think he is talking about DayZ backpack --- What do you mean by you want it?
-
I think there's a bug in MTA. I'm not sure, that's why I'm posting here. ( sorry if it's wrong section ). I clicked on MTA ( Ended all process ) and it starts + message comes. That instance one. I clicked on mta one time to select and another time to load. It still starts and the error remains how it was.
-
Epic DX maker!
-
No comments. Just EPIC!
-
No need to laugh. You are just laughing on other's work. He's a beginer, and has learned alot.
-
function setTurfOwners() local realTable = sortTable() for i, v in ipairs(realTable) do local r, g, b = exports.AGGroups:getGroupColor ( v[3]) local rE = radar[v[1]] local turfColor = toJSON({r, g, b}) if (rE) then setRadarAreaColor(rE, r, g, b, 200) end if (t_owner[v[1]]) then dbExec(db, "UPDATE theturfs SET owner=?, color=? WHERE name=?", tostring(v[3]), tostring(fromJSON(turfColor)), tostring(v[1])) break else dbExec(db, "INSERT INTO theturfs VALUES (?, ?, ?)", tostring(v[1]), tostring(v[3]), tostring(turfColor)) -- Error t_owner[v[1]] = v[3] break end t_owner[v[1]] = v[3] end end
-
ok. ok . ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .ok. ok .
-
We're performing maintenance on our board right now. Please check later today.
-
function godmodeHandler () cancelEvent () end addEvent ("enableGodMode",true) addEventHandler ("enableGodMode",getRootElement(), function() if (source == getLocalPlayer()) then addEventHandler ("onClientPlayerDamage",source,godmodeHandler) addEventHandler( "onClientRender", root, zonetxt ) end end) addEvent ("disableGodMode",true) addEventHandler ("disableGodMode",getRootElement(), function() if (source == getLocalPlayer()) then removeEventHandler ("onClientPlayerDamage", source,godmodeHandler) removeEventHandler( "onClientRender", root, zonetxt ) end end) function zonetxt( ) dxDrawText("", 47, 770, 290, 770, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) dxDrawText("Safe Zone", 88, 757, 202, 873, tocolor(0, 0, 0, 255), 1.20, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Safe Zone", 88, 755, 202, 871, tocolor(0, 0, 0, 255), 1.20, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Safe Zone", 86, 757, 200, 873, tocolor(0, 0, 0, 255), 1.20, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Safe Zone", 86, 755, 200, 871, tocolor(0, 0, 0, 255), 1.20, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Safe Zone", 87, 756, 201, 872, tocolor(42, 255, 0, 255), 1.20, "bankgothic", "left", "top", false, false, false, false, false) triggerServerEvent(localPlayer,"onColShapeHit",localPlayer) end
-
Add me. anubhav.agarwal80
