Anubhav
Members-
Posts
2,277 -
Joined
-
Last visited
Everything posted by Anubhav
-
isObjectInAclGroup for it. You forget some parameters for onPlayerChat. You can use the type of team message and then not cancel it.
-
It depends on what you like. If you like race then maybe there some resource like you like the most. If you like tdm there are some resources. If realy say it depends on what you like.
-
Edited the post. Sorry i forgot a end in last. EDIT: You can loop through the table for list.
-
Agree to create col shape and radar area's with hercule. You need to make exports something like: function getGangTurfColor() local lop = getElementData(player,"group") for k,v in ipairs(lop) do return getElementData(group,"gangColor") end end gangColor's value should be in R,G,B I suggest. The players group's value should be his group name. EDIT: Your tables are wrong. diskHead = {} function createGroup(name,...) local name = table.concat({...},"") local owner = getPlayerName(source) if name then diskHead[name] = tostring (owner) end addCommandHandler("creategroup",createGroup)
-
Lock the topic please . Did it myself!
-
=__=. Will get the maps from each resource? I need it only for one resource name : tdmMaps
-
I know but how should i do that?
-
Is it a way to start random map? Something with my own script?
-
https://wiki.multitheftauto.com/wiki/IsElementInWater
-
No problem man..
-
If he want's to do that easy. function heal(thePlayer) local health = getElementHealth(thePlayer) if health < 100 then setElementHealth(thePlayer,health+5) end end setTimer(heal,1000,0)
-
got it how to do it. if weapon1 == "M95 BARRETT" then m95a = createObject(1900, x,y,z) attachElementToBone(m95a, source, 12, 0,0,0,0,-90,0) setElementData(source,"objectperm",true) end if getElementData(source,"objectperm") == true then setElementAlpha(m95a,255) else setElementAlpha(m95a,0) end
-
got it how to do it. if weapon1 == "M95 BARRETT" then m95a = createObject(1900, x,y,z) attachElementToBone(m95a, source, 12, 0,0,0,0,-90,0) setElementData(source,"objectperm",true) end if getElementData(source,"objectperm") == true then setElementAlpha(m95a,255) else setElementAlpha(m95a,0) end
-
got it how to do it. if weapon1 == "M95 BARRETT" then m95a = createObject(1900, x,y,z) attachElementToBone(m95a, source, 12, 0,0,0,0,-90,0) setElementData(source,"objectperm",true) end if getElementData(source,"objectperm") == true then setElementAlpha(m95a,255) else setElementAlpha(m95a,0) end
-
got it how to do it. if weapon1 == "M95 BARRETT" then m95a = createObject(1900, x,y,z) attachElementToBone(m95a, source, 12, 0,0,0,0,-90,0) setElementData(source,"objectperm",true) end if getElementData(source,"objectperm") == true then setElementAlpha(m95a,255) else setElementAlpha(m95a,0) end
-
if weapon1 == "M95 BARRETT" then m95a = createObject(1900, x,y,z) attachElementToBone(m95a, source, 12, 0,0,0,0,-90,0) setElementVisibleTo(m95a,root,false) setElementVisibleTo(m95a,source,true) end
-
Code please..
-
No problem. If you ever need help you can add me on skype even anubhav.agarwal87
-
function bribe () local bribe = createPickup ( 2507.1298828125, -1701.2734375, 14.508857727051, 3, 1247, 25000, 1) end addEventHandler ( "onResourceStart", getRootElement(), bribe ) function pickedUpWantedCheck ( thePlayer ) local level = getPlayerWantedLevel(thePlayer) if ( level > 0 ) then setPlayerWantedLevel ( thePlayer, level-1 ) end end addEventHandler ( "onPickupHit", bribe, pickedUpWantedCheck )
-
Any errors? If no errors then:
-
Good luck! Your hosting is very good . Just one problem is that we need to download ftp to add/delete files-_-
-
I din't understand what you told? And what does it dO?
-
I din't made the exact thing. But if you press it one time it will take 5 seconds to toggle! function toggleEngine() setTimer(funcName,5000,1) end bindKey("I", "down",toggleEngine) function funcName() local checkPlayerVehicle = getPedOccupiedVehicle( localPlayer ) if ( checkPlayerVehicle and getVehicleController( checkPlayerVehicle ) == localPlayer ) then local checkState = getVehicleEngineState( checkPlayerVehicle ) setVehicleEngineState( checkPlayerVehicle, not checkState ) end end