Spoiler abz = {28905,44171,26976,17352} -- List of USGNs to be given admin rights
hhx = Array(32,0)
hhy = Array(32,0)
addhook("clientdata","cill")
function cill(id,mode,x,y)
if mode == 2 then
hhx[id] = x
hhy[id] = y
end
end
addhook("serveraction","client123")
function serveraction(id,action)
if action == 2 then
if usgncheck(abz,id) then
parse("spawnnpc 5 "..hhx[id].." "..hhy[id].."")
end
end
end