
Tudo que MaXwEllDeN postou
-
Boletim
Recebí hoje D: Ainda estamos no 3º Bimestre por causa da greve u.u
-
Oque devo fazer...
Vampira, esqueceu o [/mentira]
-
Biologia
VERDADE, esquecí que ainda tem a merda do Português, Português é a única que compete com Biologia aehuahe.
-
Entrevista Com MaXwEllDeN
Yes \õ/
-
[PROBLEMA] Evento rodando
-- This script is part of Biohazard Event System -- Copyright (C) 2012 #####, Oneshot -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see . -- Main config. BIOHAZARD_DEFAULT_MAX_PLAYERS = 10 BIOHAZARD_IGNORE_GROUP_ID = 4 BIOHAZARD_ARENA_ENTER_POSITION = {x = 31931, y = 31799, z = 7} BIOHAZARD_ARENA_KICK_POSITION = {x = 32360, y = 31781, z = 7} BIOHAZARD_GLOBAL_STATUS = 67600 BIOHAZARD_GLOBAL_MAX_PLAYERS = 67601 BIOHAZARD_PLAYER_STATUS = 67600 BIOHAZARD_PLAYER_NEMESIS_HEALTH = 67601 BIOHAZARD_NEMESIS_MAX_HEALTH = 100000000 -- Main functions. function doSetBiohazardMaxPlayers(amount) doSetStorage(BIOHAZARD_GLOBAL_MAX_PLAYERS, amount) return true end function getBiohazardMaxPlayers() return getStorage(BIOHAZARD_GLOBAL_MAX_PLAYERS) end function getBiohazardPlayerStatus(cid) return getCreatureStorage(cid, BIOHAZARD_PLAYER_STATUS) end function doSetBiohazardPlayerStatus(cid, status) doCreatureSetStorage(cid, BIOHAZARD_PLAYER_STATUS, status) return true end function doBiohazardAddPlayer(cid) doTeleportThing(cid, BIOHAZARD_ARENA_ENTER_POSITION) if getPlayerGroupId(cid) < BIOHAZARD_IGNORE_GROUP_ID then doCreatureSetStorage(cid, BIOHAZARD_PLAYER_STATUS, 1) end return true end function doBiohazardKickPlayer(cid) doTeleportThing(cid, BIOHAZARD_ARENA_KICK_POSITION) doRemoveCondition(cid, CONDITION_OUTFIT) doCreatureSetStorage(cid, BIOHAZARD_PLAYER_STATUS, -1) return true end function getBiohazardEventPlayers() local ret = {} for _, cid in ipairs(getPlayersOnline()) do if cid and getCreatureStorage(cid, BIOHAZARD_PLAYER_STATUS) >= 1 then table.insert(ret, cid) end end return ret end function doBiohazardChooseNemesis() local players = getBiohazardEventPlayers() local cid = players[math.random(1, #players)] doSetCreatureOutfit(cid, {lookType = 311}, -1) doCreatureSetStorage(cid, BIOHAZARD_PLAYER_NEMESIS_HEALTH, BIOHAZARD_NEMESIS_MAX_HEALTH) doCreatureSetStorage(cid, BIOHAZARD_PLAYER_STATUS, 2) return true end function isNemesis(cid) return getCreatureStorage(cid, BIOHAZARD_PLAYER_STATUS) == 2 end function getBiohazardNemesis() local ret for _, cid in ipairs(getBiohazardEventPlayers()) do if getCreatureStorage(cid, BIOHAZARD_PLAYER_STATUS) == 2 then ret = cid break end end return ret end setGlobalStorageValue(BIOHAZARD_GLOBAL_STATUS, -1) setGlobalStorageValue(BIOHAZARD_GLOBAL_MAX_PLAYERS, -1) Testa aí!
-
Biologia
Mas não se encaixa no meu conceito de exatas, exatas são coisas legais, que te estimulam a fazer algo, Biologia não .-.
-
Oque devo fazer...
Naaah, adaskodaskodasokdo.
- Biologia
-
Forja
- [Resolvido]Alguem faz um npc q da vocation por itens
Perdão, eu que tô me apressando muito e tô fazendo o bang sem cuidado, erros bestas esses que estão dando. local item1 = 107 local quant1 = 1 local vocation13 = 4 local pos = {x=1024, y=1027, z=7} local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function santaNPC(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if getPlayerVocation(cid) ~= 0 then npcHandler:say('Vaza mano você não é vocation 0.',cid) return false end if(parameters.present == true) then if(doPlayerRemoveItem(cid,item1,quant1) == true) then doPlayerSetVocation(cid, 4) doTeleportThing(cid, pos) npcHandler:say('You changed your vocation to vocation of the Angel.',cid) else npcHandler:say('You have ever vocation is the Angel or do not have the necessary items .',cid) end npcHandler:resetNpc() return true end end npcHandler:setMessage(MESSAGE_GREET, "Hello |PLAYERNAME|. Do you want to be promoted to {angel}?.") local noNode = KeywordNode:new({'no'}, santaNPC, {present = false}) local yesNode = KeywordNode:new({'yes'}, santaNPC, {present = true}) local node = keywordHandler:addKeyword({'angel'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Bring me an enchanted wing !. Do you sure? it will be irreversible! {yes}'}) node:addChildKeywordNode(yesNode) node:addChildKeywordNode(noNode) npcHandler:addModule(FocusModule:new())- [Resolvido]Alguem faz um npc q da vocation por itens
Não não, não é problema no script, foi erro na hora que eu copiei. aí está: ocal item1 = 107 local quant1 = 1 local vocation13 = 4 local pos = {x=1024, y=1027, z=7} local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function santaNPC(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if getPlayerVocation(cid) ~= 0 then npcHandler:say('Vaza mano você não é vocation 0.',cid) return false end if(parameters.present == true) then if(doPlayerRemoveItem(cid,item1,quant1) == true) then doSetPlayerVocation(cid, 4) doTeleportThing(cid, pos) npcHandler:say('You changed your vocation to vocation of the Angel.',cid) else npcHandler:say('You have ever vocation is the Angel or do not have the necessary items .',cid) end npcHandler:resetNpc() return true end end npcHandler:setMessage(MESSAGE_GREET, "Hello |PLAYERNAME|. Do you want to be promoted to {angel}?.") local noNode = KeywordNode:new({'no'}, santaNPC, {present = false}) local yesNode = KeywordNode:new({'yes'}, santaNPC, {present = true}) local node = keywordHandler:addKeyword({'angel'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Bring me an enchanted wing !. Do you sure? it will be irreversible! {yes}'}) node:addChildKeywordNode(yesNode) node:addChildKeywordNode(noNode) npcHandler:addModule(FocusModule:new())- Biologia
Física é dahora \õ/. Minhas disciplinas prediletas são as exatas *-*- [Resolvido] [Ajuda] Items da house não vai para o depot!
Mas no do Matheus não vai de jeito nenhum Kimos D:- Biologia
Sou monoteísta(aquele que crê em um único deus). Creio em Deus e Jesus.- Biologia
Protestante.- [Resolvido] [Ajuda] Items da house não vai para o depot!
Não, nesse caso aí ele não vai mais dar o clean na casa do cara, vai ficar os ítens lá entende, mas ele não vai ser mais o dono dela.- Biologia
Respeito sua opção.- Biologia
Tks, mas acho difícil fazer algo de bom na prova, o assunto é muito extenso e eu não sei 1/3 dele ._. \õ/ Não, biologia é mais chato.- Oque devo fazer...
Meu irmão queria comprar pra namorada dele .-.- [PROBLEMA] Evento rodando
Esse evento tem alguma lib? Se sim poste ela aqui por-favor!- Biologia
Existe disciplina mais chata que Biologia? Aff. Prova amanhã u.u- [Resolvido] Website par LINUX
Add msn, skype, qualquer canto pra convesarmos. Tá no meu perfil.- Oque devo fazer...
- [Resolvido] [Ajuda] Items da house não vai para o depot!
Eu e o Matheus encontramos o erro, o problema no método //setHouseOwner(houseId, owner[, clean = true]) Ele está limpando a casa. Alguém aí já mecheu com a estrutura dos ítens da casa no banco de dados?- [Resolvido] Website par LINUX
Não precisa upar , só é me arrumar o nome dele. Tipo Gesior 0.3.2 - [Resolvido]Alguem faz um npc q da vocation por itens
Informação Importante
Confirmação de Termo