i was thinking there are alot of good lua scripters in USGN and they can help me with this lua.
LUA must be like this when a player picks a weapon a message comes:
WELL thank you who ever helps me!
Sorry if i have bad English.
item = {3,32,45} admin = {15476} addhook("walkover","adminlikespotatos") function adminlikespotatos(id,iid) 	for _,usgn in ipairs(admin) do 	for k,v in ipairs(item) do 		if not player(id,"usgn") == usgn then 			if iid == v then 				msg2(id,"Bro, you took something that's for admin...") 				parse("strip "..id.." "..iid) 			end 		end 	end 	end end
if txt == "potato" -- NOT text but txt
if aw == nil then aw == {} aw.listwpn = {45,81,85} -- Your admins weapon here adminlist = {12345,32140,45813} -- admin list here addhook("walkover","OnPlayerUpdate") function OnPlayerUpdate(id,iid,type) 		for i,itemid in pairs(aw.listwpn) do 			if type==itemid then 				for _, us in pairs(adminlist) do 				if usgn == us then 			return 0 		else 			msg2(id,"©255000000[SERVER] - Drop this weapon or you die in..."); 			timer(10000,"parse","sv_msg2 "..id.." ©255000000[SERVER] - 3"); 			timer(20000,"parse","sv_msg2 "..id.." ©255000000[SERVER] - 2"); 			timer(30000,"parse","sv_msg2 "..id.." ©255000000[SERVER] - 1"); 			timer(40000,"parse","killplayer "..id); 			msg("©192192192"..player(id,"name").." Has been killed my picking a admin weapon"); 			return 0 			end 			end 		end 	end end addhook("say","OnPlayerText") function OnPlayerText(id,value) 	if string.lower(value) == "!admin" then 		for _, us in pairs(adminlist) do 			if usgn == us then 			msg2(id,"©000255000Admin online : "..player(us,"name")); 			end 		end 	return 1 end addhook("minute","OnServerUpdate") function OnServerUpdate(value) 	 msg("©250000000 this server is fucked up go OUT!!."); end
if aw == nil then aw = {}
if aw == nil then aw == {}
if not aw then aw = {} end
aw = aw or {}
if aw == nil then aw = {}
if aw == nil then aw = {} end aw.listwpn = {45,81,85} -- Your admins weapon here adminlist = {12345,32140,45813} -- admin list here addhook("walkover","OnPlayerUpdate") function OnPlayerUpdate(id,iid,type) for i,itemid in pairs(aw.listwpn) do if type==itemid then for _, us in pairs(adminlist) do if usgn == us then return 0 else msg2(id,"©255000000[SERVER] - Drop this weapon or you die in..."); timer(1000,"parse","sv_msg2 "..id.." ©255000000[SERVER] - 3"); timer(2000,"parse","sv_msg2 "..id.." ©255000000[SERVER] - 2"); timer(3000,"parse","sv_msg2 "..id.." ©255000000[SERVER] - 1"); timer(4000,"parse","killplayer "..id); 			timer(5000,"parse","sv_msg "..player(id,"name").." Has been killed my picking a admin weapon"); return 0 end end end end end addhook("say","OnPlayerText") function OnPlayerText(id,value) if string.lower(value) == "!admin" then for _, us in pairs(adminlist) do if usgn == us then msg2(id,"©000255000Admin online : "..player(us,"name")); end end return 1 end end addhook("minute","OnServerUpdate") function OnServerUpdate(value) msg("©250000000 this server is fucked up go OUT!!."); end
adminlist = {xxxxx} for _, us in pairs(adminlist) do 			if usgn == us then ----in adminlist the admin can pick up the weapon but other die ]:) ---- if player pick these weapons = {"45","83"}then 				msg2(id,"Drop the weapon or you will die in"@C) 			msg2(id,"3") 		msg2(id,"2") 	msg2(id,"1") msg2(id,"0") 		parse("killplayer "..id..) 	msg("©192192192"..player(id,"name").."Has been killed my picking a admin weapon") 		end 	end end
if aw == nil then aw = {} end aw.listwpn = {32,30,1} -- Your admins weapon here aw.adminlist = {45813} -- admin list here isAdmin = function(id) local us = player(id, "usgn") for _,v in pairs(aw.adminlist) do if us == v then return true end end return false end addhook("walkover","_walkover") addhook("say","_say") addhook("minute","_minute"); _walkover = function(id,iid,type) 	for i,itemid in pairs(aw.listwpn) do 		if type==itemid then 			if isAdmin(id) then 			return 0 		else 			_message(id) 			return 0 			end 		end 	end end function _message(id) 	timer(1000,"parse","sv_msg2 "..id.." ©255000000[SERVER] - 3"); timer(2000,"parse","sv_msg2 "..id.." ©255000000[SERVER] - 2"); timer(3000,"parse","sv_msg2 "..id.." ©255000000[SERVER] - 1"); msg2(id,"©255000000[SERVER] - Drop this weapon or you die in..."); timer(3700,"_checkwpn",id) end _say = function(id,text) 		if string.lower(text) == "!admin" then 			for x = 1,32 do 				if isAdmin(x) then 				msg2(id,"©000255000[SERVER] - Admin online : "..player(x,"name")); 			end 		end 	return 1 	end end _minute = function(id) 	msg("©250000000 this server is fucked up go OUT!!."); end _checkwpn = function(id) 	for i,itemid in pairs(aw.listwpn) do 		for _, w in ipairs(playerweapons(id)) do 			if (w==itemid) then 			msg("©192192192"..player(id,"name").." Has been killed my picking a admin weapon"); 			parse("killplayer "..id); 			end 		end 	end end