Eu Queria Saber Como Eu Coloco Dx Com Teleporte Tipo, Quando Eu Dou O Comando Do Teleporte Exemplo "/praia" Ai Apareçe o Jogador Foi Para Praia Mais Eu Queria Que Essa Msg Aparecia No Topo Da Tela Junto Com O Dx. Eu Sou Bom Em Scripter Mais Com Dx Nao Sou Bom Entao Ta Ai Me Ajudem Por Favor
Teleportes:
local posicoes =
{
{ 350.177, -1763.144, 5.283 },
}
function PosicaoPlayer ( thePlayer, command )
local azar = math.random ( #posicoes )
local veh = getPedOccupiedVehicle(thePlayer)
if (veh) then
setElementPosition(veh, unpack ( posicoes [ azar ] ) )
else
setElementPosition(thePlayer, unpack ( posicoes [ azar ] ) )
end
outputChatBox ('#ffffff[ #00ff00INFO #ffffff]#ffffff: O Jogador(a) ' .. getPlayerName(thePlayer) .. ' #ffffffFoi Para [/#00ff00praia#ffffff]', root, 255, 255, 255, true)
end
addCommandHandler ( "praia", PosicaoPlayer )
local posicoes =
{
{ 2465.643, -1670.133, 13.477 },
}
function PosicaoPlayer ( thePlayer, command )
local azar = math.random ( #posicoes )
local veh = getPedOccupiedVehicle(thePlayer)
if (veh) then
setElementPosition(veh, unpack ( posicoes [ azar ] ) )
else
setElementPosition(thePlayer, unpack ( posicoes [ azar ] ) )
end
outputChatBox ('#ffffff[ #00ff00INFO #ffffff]#ffffff: O Jogador(a) ' .. getPlayerName(thePlayer) .. ' #ffffffFoi Para [/#00ff00cj#ffffff]', root, 255, 255, 255, true)
end
addCommandHandler ( "cj", PosicaoPlayer )
local posicoes =
{
{ 2172.055, -1015.773, 62.972 },
}
function PosicaoPlayer ( thePlayer, command )
local azar = math.random ( #posicoes )
local veh = getPedOccupiedVehicle(thePlayer)
if (veh) then
setElementPosition(veh, unpack ( posicoes [ azar ] ) )
else
setElementPosition(thePlayer, unpack ( posicoes [ azar ] ) )
end
outputChatBox ('#ffffff[ #00ff00INFO #ffffff]#ffffff: O Jogador(a) ' .. getPlayerName(thePlayer) .. ' #ffffffFoi Para [/#00ff00favela#ffffff]', root, 255, 255, 255, true)
end
addCommandHandler ( "favela", PosicaoPlayer )
local posicoes =
{
{ 1914.546, -2415.094, 13.539 },
}
function PosicaoPlayer ( thePlayer, command )
local azar = math.random ( #posicoes )
local veh = getPedOccupiedVehicle(thePlayer)
if (veh) then
setElementPosition(veh, unpack ( posicoes [ azar ] ) )
else
setElementPosition(thePlayer, unpack ( posicoes [ azar ] ) )
end
outputChatBox ('#ffffff[ #00ff00INFO #ffffff]#ffffff: O Jogador(a) ' .. getPlayerName(thePlayer) .. ' #ffffffFoi Para O AeroPorto De [/#00ff00ls#ffffff]', root, 255, 255, 255, true)
end
addCommandHandler ( "ls", PosicaoPlayer )
local posicoes =
{
{ -2334.966, -1658.198, 483.703 },
}
function PosicaoPlayer ( thePlayer, command )
local azar = math.random ( #posicoes )
local veh = getPedOccupiedVehicle(thePlayer)
if (veh) then
setElementPosition(veh, unpack ( posicoes [ azar ] ) )
else
setElementPosition(thePlayer, unpack ( posicoes [ azar ] ) )
end
outputChatBox ('#ffffff[ #00ff00INFO #ffffff]#ffffff: O Jogador(a) ' .. getPlayerName(thePlayer) .. ' #ffffffFoi Para O [/#00ff00mt#ffffff]', root, 255, 255, 255, true)
end
addCommandHandler ( "mt", PosicaoPlayer )