Welcome, Guest. Please login or register.
Did you miss your activation email?
September 20, 2024, 04:36:25 AM
Home Help Login Register
News: Zombie Master 2 discussion

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Problem about Making Weapons
Pages: [1]
Author Topic: Problem about Making Weapons  (Read 4238 times)
Predator
Poster

Posts: 66


« on: July 18, 2011, 07:24:21 AM »

Hello. i made a ttt weapons but it was not worked

When traitor kills their frined traitors , gets this gun to kill himself (like suicide gun)

But it seems to be not worked (http://pastebin.com/svLQFiVt)

What should i do?
M4RK
Poster

Posts: 12


« Reply #1 on: July 22, 2011, 08:40:44 AM »

What is the point of this exactly?
GrayScare0
Poster

Posts: 404


« Reply #2 on: July 22, 2011, 09:52:54 AM »

I'm not 100% sure that I understand what you're saying, but what it sounds like is that you want a gun for a traitor to commit suicide with after teamkilling a fellow traitor.  If that is the case, I doubt you will find help here.
Predator
Poster

Posts: 66


« Reply #3 on: July 22, 2011, 10:34:00 AM »

Okay then i need to delete this stuff Thanks.
dark_st3alth
Poster

Posts: 32



« Reply #4 on: August 06, 2011, 06:30:41 AM »

From a developer's view:

A server sided hook that checks to see if a traitor killed a traitor, if true give them a specified weapon.


Code wise I'm not sure exactly even how you check how a player is what "role". It seems that pastebin is down, again...

I do various mapping and coding for most gamemodes and games, and I'm sure I can give you a hand with any problems.

My Steam Profile: http://steamcommunity.com/id/DarK_St3alth
My Server: 64.31.40.16:27015
sniperduck
Poster

Posts: 178


|:NxS:| Staff! :D


« Reply #5 on: August 06, 2011, 04:04:31 PM »

	
                if tr.Entity:IsPlayer() then
if tr.Entity:IsRole(ROLE_TRAITOR) then



Checks what "role" you are. Only part yes but you get the idea.
« Last Edit: August 06, 2011, 04:06:44 PM by sniperduck »

Overtime these forums have made me an asshole. ;D (TTT subforum)
|:NxS:| Custom TTT Server: source.nxs-gaming.com:27016
|:NxS:| Vanilla TTT Server: source.nxs-gaming.com:27016
|:NxS:| Fretta: <COMING SOON>
dark_st3alth
Poster

Posts: 32



« Reply #6 on: August 06, 2011, 05:05:45 PM »

Oh really? That's what I was guessing.

Thanks :)

I do various mapping and coding for most gamemodes and games, and I'm sure I can give you a hand with any problems.

My Steam Profile: http://steamcommunity.com/id/DarK_St3alth
My Server: 64.31.40.16:27015
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Problem about Making Weapons « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.008 seconds with 18 queries.