English people and zombies wrench

4 replies
Goto Page
To the start Previous 1 Next To the start
01.12.17 12:03:51 pm
Up
kewixasd
User
Offline Off
Hi

my zombie server should be zombies and people wrench
I do not know how to set this up

thank you in advance for helping people
N@
01.12.17 12:51:21 pm
Up
Amaguya
User
Offline Off
Add codes the following to sys/lua/server.lua

Code:
1
2
3
4
5
6
7
-- Spawn with USP + Knife + Wrench
addhook("spawn", "_spawn")
function _spawn(id)
     if (player(id, "team") == 2) then
          return "1, 74,"
     end
end


or

Code:
1
2
3
4
5
6
7
8
-- Spawn with USP + Wrench
addhook("spawn", "_spawn")
function _spawn(id)
     if (player(id, "team") == 2) then
          parse("strip "..id.." 50")
          return "1, 74,"
     end
end
edited 3×, last 01.12.17 01:17:11 pm
play VA-11 Hall-A
01.12.17 01:08:58 pm
Up
Yates
Reviewer
Offline Off
@user Amaguya:

IMG:https://i.imgur.com/ZPrXOiL.png


RTFM

user Amaguya has written:
sys/lua/server.cfg

??? .cfg ???

01.12.17 01:12:53 pm
Up
Amaguya
User
Offline Off
You showed me I'm a bad scripter, thank you.

Quote:
??? .cfg ???

I fixed it.
play VA-11 Hall-A
01.12.17 01:15:58 pm
Up
Yates
Reviewer
Offline Off
No problem that's why I'm here
To the start Previous 1 Next To the start