Ulysses Stuff > Releases for ULX v1.*
Gun Admin Check
Slayer_NL:
Can i put all the weapons in like one folder called Admin SWEPS and then put the steamid's in there too would that work?
Slayer_NL:
It's not really working for me. It sees the wepadminlist as a SWEP weapon and when i add my steamid in the list im still not authorized to use the gun.
Golden-Death:
Just to make sure its proper, could you post the SWEP and the admin list for me?
Slayer_NL:
Adminlist:
--- Code: ---AUTHID1 = "STEAM_0:0:187892";
AUTHID2 = "Steam ID Here";
AUTHID3 = "Steam ID Here";
AUTHID4 = "Steam ID Here";
AUTHID5 = "Steam ID Here";
AUTHID6 = "Steam ID Here";
AUTHID7 = "Steam ID Here";
AUTHID8 = "Steam ID Here";
AUTHID9 = "Steam ID Here";
AUTHID10 = "Steam ID Here";
AUTHID11 = "Steam ID Here";
--- End code ---
SWEP(Blackholegun):
--- Code: ---function onPickup( pickerup )
_OpenScript( "wepadminlist.lua" );
if (_PlayerInfo( pickerup, "networkid" ) == AUTHID1) or
(_PlayerInfo( pickerup, "networkid" ) == AUTHID2) or
(_PlayerInfo( pickerup, "networkid" ) == AUTHID3) or
(_PlayerInfo( pickerup, "networkid" ) == AUTHID4) or
(_PlayerInfo( pickerup, "networkid" ) == AUTHID5) or
(_PlayerInfo( pickerup, "networkid" ) == AUTHID6) or
(_PlayerInfo( pickerup, "networkid" ) == AUTHID7) or
(_PlayerInfo( pickerup, "networkid" ) == AUTHID8) or
(_PlayerInfo( pickerup, "networkid" ) == AUTHID9) or
(_PlayerInfo( pickerup, "networkid" ) == AUTHID10) or
(_PlayerInfo( pickerup, "networkid" ) == AUTHID11) then
_Msg( "Authorized." )
else
_Msg( "No acess!" )
_ScreenText( pickerup, "You do not have permission to use this weapon",0, 0, 255,0,0,255,1,1,2,1,0)
_PlayerSilentKill( pickerup, 1, true )
end
end
--[[ ______________________________________________
|¡!¡!¡!¡!¡!¡ Black Hole Gun !¡!¡!¡!¡!¡!¡|
|!¤¡!¡!¡!¤¡! v. 1.8 ¡!¤¡!¡!¡!¡¤!|
|¡!¡!¡!¡!¡!¡!¡!¡ By !¡!¡!¡!¡!¡!¡!¡!¡!¡|
|!¡!¡!¤¡!¡!¡ TrinitronX (enTity) !¡!¡!¡¤!¡!¡!|
|¡!¡!¡!¡!¡!¡ ROBO DONUT !¡!¡!¡!¡!¡!¡|
|!¤¡!¡!¡!¤¡¡ and ¡!¤¡!¡!¡!¡¤!|
|¡!¡!¡!¡!¡!¡ dssalmon !¡!¡!¡!¡!¡!¡|
|¡¤¡!¡!¡¤¡ vector/angle functions by ¡¤¡!¡!¡¤¡|
|¡!¡!¤!¡!¡ GeoGriff ¡!¡!¤!¡!¡|
|¡¤¡!¡!¡¤¡ gun inspired by NeoSeeker ¡¤¡!¡!¡¤¡|
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Feel free to use this, or modify it.. as long as you give the authors credit. Thanks!
]]
-- global variables that can tweak the effects of the black hole (feel free to change them if wanted)
affectplayers = true; -- whether or not the black hole will suck players in (default true). Set to false to not pull in players.
affectnpcs = true; -- whether or not the black hole will suck in npcs (default true)
-- Shot related settings
local fieldtime = 10; --default is 7 (the amount of time the black hole is in effect for.. note that changing this may offset the black hole's sound effects)
local shotmovetime = 3; --default is 3 (the amount of time the black hole ball can move around)
-- Black hole related settings
blackholeforce = 90000000; --90000000 is default for the black hole's force. Use less to give it less pull
blackholeouterradius = 300000; --default is 300000 (effects the outer/pulling radius of the black hole)
blackholeinnerradius = 70; --default is 70 (effects the inner deletion/kill radius of the black hole)
--- End code ---
Code for the SWEP is to long so i only posted the begin.
Golden-Death:
Works for me. Try making sure your Steamid is what it is when your ingame. WHen your on singleplayer, it may be UNKNOWN so thats what youd have to put in there.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version