Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
November 22, 2024, 06:30:32 PM
News:
Zombie Master 2 discussion
Zombie Master
|
Other
|
Trouble in Terrorist Town
| Topic:
Starting Weapon Help
Pages: [
1
]
Author
Topic: Starting Weapon Help (Read 3175 times)
titrokb
Poster
Posts: 2
«
on:
March 05, 2011, 03:07:35 AM »
if SERVER then
AddCSLuaFile( "adminweapon.lua" )
end
w_shot_m3super90.InLoadoutFor = {superadmin}
Where superadmin is a group of players. This gives me a lua error and I'm really not sure where to fix. I don't think I chose the right gun class and I don't know if I can use groups. How would I make it so groups get weapons at start up?
Mr. Gash
Poster
Posts: 382
www.nonerdsjustgeeks.com
«
Reply #1 on:
March 05, 2011, 04:59:04 AM »
Uhhh... Maybe it's not working because "w_shot_m3super90.InLoadoutFor" isn't an actual variable? Just a guess.
Edit
:
Oh and you can only loadout weapons for ROLE_TRAITOR, ROLE_INNOCENT, and ROLE_DETECTIVE.
phoenixf129
Poster
Posts: 476
I Rise from the Ashes.
«
Reply #2 on:
March 05, 2011, 09:17:36 AM »
Should be SWEP.InLoadoutFor = {ROLE_*} Can't be superadmin...
Software Upgrade Paradox - If you improve a piece of software enough times, you eventually ruin it.
titrokb
Poster
Posts: 2
«
Reply #3 on:
March 07, 2011, 03:00:38 AM »
Oh thanks so much guys, I thought so. So do I need to create a variable for the weapon or is there a database I can see with the weapon list? And how would I make it so a certain group starts out with weapons?
Pages
: [
1
]
Zombie Master
|
Other
|
Trouble in Terrorist Town
| Topic:
Starting Weapon Help
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Other
-----------------------------
=> Trouble in Terrorist Town
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Page created in 0.009 seconds with 17 queries.
Loading...