Ir para conteúdo

Featured Replies

Postado
  • Autor

Pode Fexar Jah Arrumei Ninguem Ajudo VAI SE FUDER ENTAUM ! Rep + Pra Min Mesmo :fuu:

  Citar

function onStepIn(cid, item, position, fromPosition)

local config = {

gametime = -1, --time in mins

redSide = {x=676, y=499, z=7, stackpos=253},

blueSide = {x=744, y=520, z=7, stackpos=253},

outfitRed = {lookType = 229, lookHead = 94, lookAddons = 1, lookLegs = 94, lookBody = 94, lookFeet = 94}, <---- [CARALEO SOU FODA]

outfitBlue = {lookType = 248, lookHead = 88, lookAddons = 1, lookLegs = 88, lookBody = 88, lookFeet = 88} <---- [SE FODA]

}

local redStorage = getGlobalStorageValue(2001)

local blueStorage = getGlobalStorageValue(2002)

if getPlayerIp(cid) == 0 then

doSendMagicEffect(position,69)

doRemoveCreature(cid)

return false

end

if item.actionid == 100 then

doSetCreatureOutfit(cid, config.outfitRed , config.gametime)

doSetItemActionId(item.uid,item.actionid+1)

doTeleportThing(cid,config.redSide,false)

doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You are on the Red team")

doPlayerSetStorageValue(cid, 1000, 3)

elseif item.actionid == 101 then

doSetCreatureOutfit(cid, config.outfitBlue , config.gametime)

doSetItemActionId(item.uid,item.actionid-1)

doTeleportThing(cid,config.blueSide,false)

doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You are on the Blue team")

doPlayerSetStorageValue(cid, 1000, 4)

end

return true

end

  • Respostas 5
  • Visualizações 1k
  • Created
  • Última resposta

Top Posters In This Topic

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo