edited 1×, last 10.04.09 01:34:13 am
General
Small scripts needed.
Small scripts needed.
function adm_getid_admin(p, cmd)
cmd = trim(cmd)
local names = {}
for i =1, 32, 1 do
if player(i, "exists") then
names[player(i, "name")] = i
end
end
if names[cmd] then msg2(p, "Player "..cmd.." is at ID: "..names[cmd]) end
return 2
end