
Anubhav
Members-
Posts
2,277 -
Joined
-
Last visited
Everything posted by Anubhav
-
Position x, y, z = ? Tell us the X Y Z of that position!
-
tim = nil timerKilled = false function Handler() if timerKilled then return end for index, value in ipairs( getElementsByType("player") ) do if getPlayerMoney( value ) >= 3000000 then triggerClientEvent ( value, "reward5" , value ); outputDebugString ( "works@server" ); triggerClientEvent ( value, "show5" , value ); if killTimer ( tim ) then timerKilled = true else timerKilled = true end elseif (not isTimer(tim)) then timerStart() elseif (isTimer(tim)) then resetTimer( tim ) timerKilled = false end end end function timerStart() timerKilled = false tim = setTimer ( function() Handler() end, 10000, 0 ) end addEvent( "reward55", true ) addEventHandler( "reward55", root, timerStart )
-
Dide, it won't work.You need to change the px and py and pz to your thing! !!
-
setTimer (function() if ( guiGetVisible ( mis5 ) == false ) then guiSetVisible (claim5, false) outputDebugString ( "works@false" ) else triggerServerEvent ( "reward55", localPlayer ) outputDebugString ( "works@" ) end end, 1000, 0 )
-
function outputLocalPlayerPosition ( ) local px, py, pz = getElementPosition ( getLocalPlayer ( ) ) end setTimer (function() local x, y, z = getElementPosition ( getLocalPlayer ( ) ) if ( x == px and y == py and z == pz ) then guiSetVisible ( wind, true ) end end, 3600000, 0 )
-
addEvent("Silenced", true) addEventHandler("Silenced",root, function() local zombiekills = tonumber(getElementData(source,"Zombie kills")) if (zombiekills >= 150) then local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 300) then takePlayerMoney(source,300) giveWeapon ( source , 23,60 ) else outputChatBox ( "Bu silahi alamassınız çünkü levelniz yetmiyor.", source, 255, 0, 0 ) end end end )
-
function extrah( source ) if (source == "zombie") then if getElementModel ( source ) == 162 then exports.extrahealth:setElementExtraHealth(source, 500) end end end addEvent ( "onZombieSpawn", true ) addEventHandler("onZombieSpawn", getRootElement(), extrah)
-
function extrah( source ) if (source == "zombie") then if getElementModel ( source ) == 162 then exports.extrahealth:setElementExtraHealth(source, 500) end end end addEvent ( "onZombieSpawn", true ) addEventHandler("onZombieSpawn", getRootElement(), extrah)
-
please check Server.lua file, maybe Server.lua is a lowercase, check thoroughly Are you an idiot? The whole resource wouldn't even load if that was the case. EDIT: The fix. You made wrote the second argument source in addEventHandler. function Handler() for index, value in ipairs( getElementsByType("player") ) do if getPlayerMoney( value ) >= 3000000 then triggerClientEvent ( value, "reward5" , value ); outputDebugString ( "works@server" ); triggerClientEvent ( value, "show5" , value ); killTimer ( tim ) else resetTimer(tim) end end end function timerStart() tim = setTimer ( function() Handler() end, 10000, 0 ) end addEvent( "reward55", true ) addEventHandler( "reward55", root, timerStart )
-
please check Server.lua file, maybe Server.lua is a lowercase, check thoroughly Are you an idiot? The whole resource wouldn't even load if that was the case. EDIT: The fix. You made wrote the second argument source in addEventHandler. function Handler() for index, value in ipairs( getElementsByType("player") ) do if getPlayerMoney( value ) >= 3000000 then triggerClientEvent ( value, "reward5" , value ); outputDebugString ( "works@server" ); triggerClientEvent ( value, "show5" , value ); killTimer ( tim ) else resetTimer(tim) end end end function timerStart() tim = setTimer ( function() Handler() end, 10000, 0 ) end addEvent( "reward55", true ) addEventHandler( "reward55", root, timerStart )
-
setElementData to tell if he is on car glued?
-
setElementData to tell if he is on car glued?
-
When you use attachElements use setElementFrozen then when you use detachElements you simply setElementFrozen a bit 2-3 seconds later and you wont fall? You can make it like you are frozen on vehicle after detach
-
When you use attachElements use setElementFrozen then when you use detachElements you simply setElementFrozen a bit 2-3 seconds later and you wont fall? You can make it like you are frozen on vehicle after detach
-
Message me on skype, I can give you a full explanation on it. anubhav.agarwal87
-
Message me on skype, I can give you a full explanation on it. anubhav.agarwal87
-
biscuits, good heavens, PLEASE read the whole topic. You guyz have no idea what replies are you giving. sometime later, you reliazed you got fooled
-
biscuits, good heavens, PLEASE read the whole topic. You guyz have no idea what replies are you giving. sometime later, you reliazed you got fooled