ALILP
Emulation Addict
Code:
--[[player:SummonPlayer( target, map, x, y, z, zoneId )]]
function summall(event, player, msg)
if(player:GetGmRank() =< 3)then
if(msg lower() == "#summall")then
for A, D in ipairs(GetPlayersInWorld()) do
local Map = D:GetMapId()
local X = D:GetX
local Y = D:GetY
local Z = D:GetZ
local Zone = D:GetZoneId
player:SummonPlayer( D, Map, X, Y, Z, Zone )
end
end
end
end
RegisterPlayerEvent(18, summall)
where is my fault?
Last edited: