Search the Community
Showing results for tags 'ptbr'.
-
Olá alguém pode me ajudar a colocar essa função para se ativa por bindkey elseif getElementModel(source) == 523 then --ID DO CARRO/VTR - addVehicleSirens(source,15,5, true, false, true, true) - setVehicleSirens(source, 1, 0.45, 0.05, 2.2, 255, 165, 0, 255, 255.0) - setVehicleSirens(source, 2, 0.45, 0.05, 2.2, 255, 165, 0, 255, 255.0) - setVehicleSirens(source, 3, 0.3, 0.05, 2.2, 255, 165, 0, 255, 255.0) - setVehicleSirens(source, 4, 0.1, 0.05, 2.2, 255, 165, 250, 250, 250.0) - setVehicleSirens(source, 5, -0.3, 0.05, 2.2, 255, 165, 0, 255, 255.0) - setVehicleSirens(source, 6, -0.45, 0.05, 2.2, 255, 165, 0, 255, 255.0) - setVehicleSirens(source, 7, -0.6, 0.05, 2.2, 255, 165, 0, 255, 255.0) - setVehicleSirens(source, 16, -0.1, 0.05, 1.2, 255, 165, 0, 255, 255.0)
-
function upLevel (thePlayer) for i,player in ipairs(getElementsByType("player")) do if ( player ) then if ( getPlayerAccount(player) ) and not ( isGuestAccount(getPlayerAccount(player)) ) then setElementData(player,"minutes",(getElementData(player,"minutes") or 0) +1) if ( getElementData(player,"minutes") > 60 ) then setElementData(player,"minutes",0) setElementData(player,"Level",(getElementData(player,"Level") or 0) +1) local bonus = math.random(650,1200) local interest = math.random(60,220) local value = (bonus-interest) givePlayerMoney(player,value) outputChatBox("#FFFFFF[ #FAAC58Level #FFFFFF]", player, 255, 255, 255, true ) outputChatBox("#FFFFFFPagamento : R$ #00FF00"..value, player, 255, 255, 255, true ) local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Everyone" ) ) then end end end end end end setTimer(upLevel,69000,0) function setLevelLogin () local account = getPlayerAccount(source) if ( account ) then local Level = (getAccountData(account,"Level") or 0) local minutes = (getAccountData(account,"minutes") or 0) setElementData(source,"Level",Level) setElementData(source,"minutes",minutes) end end addEventHandler("onPlayerLogin",getRootElement(),setLevelLogin) function setLevelJoin () setElementData(source,"Level",0) setElementData(source,"minutes",0) end addEventHandler("onPlayerJoin",getRootElement(),setLevelJoin) function setLevelQuit () local account = getPlayerAccount(source) if ( account ) then local minutes = (getElementData(source,"minutes") or 0) local Level = (getElementData(source,"Level") or 0) setAccountData(account,"minutes",minutes) setAccountData(account,"Level",Level) end end addEventHandler("onPlayerQuit",getRootElement(),setLevelQuit) este é o script
-
Já cansei de procurar por um script bom, para quando o player morrer voltar diretamente para o hospital de LS, se alguém puder me indicar um bom!
-
Olá, bom dia ou boa tarde, gostaria de saber por onde posso começa para montar um gang war ? poderiam me dá uma ajudar com isso?