Movido para Tutoriais e Suporte - Tutoriais de Scripting - Suporte Scripting.
DR
tfs 0.3
tile somente 2player por ip passa
Por Dragon Ball Hiper, 30 de jul. de 2016 em Scripts
0.4
tile
movement
ip
5
1.5k
1 mês depois...
info
Grupo: Administrador
Registrado: 08/07/05
Posts: 5.8k
Reputação: +1.4k
Gênero: Outro

15 de agosto de 2016 às 17:21
15 de agosto de 2016 às 20:21
local ips = {}function onStepIn(cid, item, position, fromPosition) if not isPlayer(cid) then return true end local player_ip = getPlayerIp(cid) if table.count(ips, player_ip) == 2 then doPlayerSendTextMessage(cid, 27, "There is already two players with the same IP as yours in the event.") doTeleportThing(cid, fromPosition) return true end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Welcome to the event area.") table.insert(ips, player_ip) return trueend
15 de agosto de 2016 às 21:19
56 minutos atrás, zipter98 disse:local ips = {}function onStepIn(cid, item, position, fromPosition) if not isPlayer(cid) then return true end local player_ip = getPlayerIp(cid) if table.count(ips, player_ip) == 2 then doPlayerSendTextMessage(cid, 27, "There is already two players with the same IP as yours in the event.") doTeleportThing(cid, fromPosition) return true end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Welcome to the event area.") table.insert(ips, player_ip) return trueend
fico feliz de olhar q vc ta dnovo ajudando aki no forum, + ativo do q vc ja tava ^^
1 favor pessoal, ajuda eu com o server dpx =x fikei comparando e a grande maioria dos arquevos do server sao iguais ao pda ^^
15 de agosto de 2016 às 21:25
Mesmo sendo um assunto desconexo do tópico (peço desculpas ao autor), estava me questionando justamente quanto a esse tema. Por ter ficado um tempo desligado do mundo poketibiano, não me atualizei sobre as bases mais usadas atualmente (se é esse tal DPX ou outro). Se puder responder-me em meu perfil, agradeço.
Editado Agosto 15 por zipter98




info
Grupo: Artesão
Registrado: 05/06/15
Posts: 119
Reputação: +31
Gênero: Outro
Ola Nao Sei se estou Postando area correta
se estiver errado Desculpa me
Bom Preciso de Um Script que Onde apenas 2 player por ip passa no tile para ir no evento !
Ja Procurei MUITOs Script Nao estao funfando !
se alguem tiver fico gradecido
obg
Editado Agosto 15 por Daniel