Login to ZARP
Username: Password: Remember me

TOPIC: [Deathrun] Chat Command for third person

[Deathrun] Chat Command for third person 8 years 2 weeks ago #318080

Server Name: Deathrun server 1 & 2

Suggestion Title: Third Person chat command

How would it benefit the server?

Over the course of about 6 months of moderating deathrun I've noticed a lot of newbies asking how to use thirdperson and trying to use the chat command "!3p" or something like that to toggle it, so I think that for the sake of the new people to the deathrun community that we should add the command.

Potential Issues/Exploits?

I can't think of any issues or exploits.

Additional notes :

I've made a rough version of the code that could be used to make this happen, it's just a case of making it a .lua and adding it to a autorun folder.

Warning: Spoiler! [ Click to expand ]
  • SilentCall
  • SilentCall's Avatar
  • Offline
  • Senior Boarder
  • ZARP VIP
  • Posts: 358
  • Thanks received: 120
  • Karma: 0
Ex-Bhop HA

Last Edit: 8 years 2 weeks ago by SilentCall.
The topic has been locked.

[Deathrun] Chat Command for third person 8 years 2 weeks ago #318097

:plussp:
  • TimeForPug
  • TimeForPug's Avatar
  • Offline
  • Adept Boarder
  • ZARP VIP Golden Blue Badge
  • Posts: 6768
  • Thanks received: 1213
  • Karma: -15
The topic has been locked.

[Deathrun] Chat Command for third person 8 years 2 weeks ago #318098

Will be much easier to explain to new players how go into thirdperson.

:plussp:

Good job! :D
  • Jim_Jam
  • Jim_Jam's Avatar
  • Offline
  • Former Community Manager
  • ZARP VIP Golden Blue Badge
  • TTT is my child ❤️
  • Posts: 8586
  • Thanks received: 3491
  • Karma: -32
The topic has been locked.

[Deathrun] Chat Command for third person 8 years 2 weeks ago #318208

I don't see a negative against this so it's a from me!
  • WolfieAD
  • WolfieAD's Avatar
  • Offline
  • Legendary Member
  • ZARP VIP
  • Posts: 692
  • Thanks received: 192
  • Karma: 4


Former Deathrun Owner
Former SSRP Moderator
Former Teamspeak Staff
The topic has been locked.

[Deathrun] Chat Command for third person 8 years 2 weeks ago #318211

Well its not really needed and i don't see how this would help, there is a third person function. Is it that annoying if people say it in chat?
  • rroobbiinn10xx
  • rroobbiinn10xx's Avatar
  • Offline
  • Diamond Boarder
  • ZARP VIP
  • Zwarte piet is not racist
  • Posts: 4052
  • Thanks received: 1739
  • Karma: 42
The topic has been locked.

[Deathrun] Chat Command for third person 8 years 2 weeks ago #318217

if ( CLIENT ) then


	local function toggle()

		local on = LocalPlayer():GetInfoNum("deathrun_thirdperson" , 0)
	
		if on == 0 then
		
			LocalPlayer():PrintMessage( HUD_PRINTTALK, "Third person mode enabled." )
			LocalPlayer():ConCommand("deathrun_thirdperson 1")

		else
		
			LocalPlayer():PrintMessage( HUD_PRINTTALK, "Third person mode disabled." )
			LocalPlayer():ConCommand("deathrun_thirdperson 0")
		end

	end

	concommand.Add( "thirdperson_toggle", toggle )

end

if ( SERVER ) then

	hook.Add("PlayerSay", "ThirdPerson", function (ply, text, public)
		text = string.lower( text )
		if (text == "!3p" or text == "!thirdperson") then
				ply:ConCommand("thirdperson_toggle")
				return("")
		end
	end)
end

If they were to turn it off the normal way through the f1 menu I think it would bug but this should fix it :D
  • DEADMONSTOR
  • DEADMONSTOR's Avatar
  • Offline
  • Former Owner
  • ZARP VIP
  • Posts: 9276
  • Thanks received: 3799
  • Karma: 80
...
Last Edit: 8 years 2 weeks ago by DEADMONSTOR.
The topic has been locked.

[Deathrun] Chat Command for third person 8 years 2 weeks ago #318643

DEADMONSTOR wrote:
if ( CLIENT ) then


	local function toggle()

		local on = LocalPlayer():GetInfoNum("deathrun_thirdperson" , 0)
	
		if on == 0 then
		
			LocalPlayer():PrintMessage( HUD_PRINTTALK, "Third person mode enabled." )
			LocalPlayer():ConCommand("deathrun_thirdperson 1")

		else
		
			LocalPlayer():PrintMessage( HUD_PRINTTALK, "Third person mode disabled." )
			LocalPlayer():ConCommand("deathrun_thirdperson 0")
		end

	end

	concommand.Add( "thirdperson_toggle", toggle )

end

if ( SERVER ) then

	hook.Add("PlayerSay", "ThirdPerson", function (ply, text, public)
		text = string.lower( text )
		if (text == "!3p" or text == "!thirdperson") then
				ply:ConCommand("thirdperson_toggle")
				return("")
		end
	end)
end

If they were to turn it off the normal way through the f1 menu I think it would bug but this should fix it :D

Didn't think to add a check for that, thanks! :silly:
  • SilentCall
  • SilentCall's Avatar
  • Offline
  • Senior Boarder
  • ZARP VIP
  • Posts: 358
  • Thanks received: 120
  • Karma: 0
Ex-Bhop HA

The topic has been locked.

[Deathrun] Chat Command for third person 8 years 2 weeks ago #318649

rroobbiinn10xx wrote:
Well its not really needed and i don't see how this would help, there is a third person function. Is it that annoying if people say it in chat?

I don't really get what you mean?
  • SilentCall
  • SilentCall's Avatar
  • Offline
  • Senior Boarder
  • ZARP VIP
  • Posts: 358
  • Thanks received: 120
  • Karma: 0
Ex-Bhop HA

The topic has been locked.

[Deathrun] Chat Command for third person 8 years 2 weeks ago #318667

:plussp:

When I first play'd zarp deathrun first thing I done was !3p, I had to ask a staff member to help me find out how to go thirdperson
  • smo
  • smo's Avatar
  • Offline
  • Gold Boarder
  • ZARP VIP
  • I really need to change my password
  • Posts: 2728
  • Thanks received: 571
  • Karma: -21
Sorle was here
Luke was here
Rhys was here
Smo change ur password lol
The topic has been locked.

[Deathrun] Chat Command for third person 8 years 2 weeks ago #318668

That would be a good addition to newcomers!

:plussp:
  • BiWx Voorhees
  • BiWx Voorhees's Avatar
  • Offline
  • Legendary Member
  • ZARP VIP
  • Riddim & DnB
  • Posts: 2963
  • Thanks received: 666
  • Karma: 27

Deathrun- Former Owner
TeamSpeak3- Former Staff
Forums- Former Section Mod- Deathrun- Server Apps
Changed name to HyperioN on Steam
The topic has been locked.

[Deathrun] Chat Command for third person 8 years 1 week ago #320750

Accepted!
  • stratiic
  • stratiic's Avatar
  • Offline
  • User is blocked
  • ZARP VIP
  • spitting in your mum's twat
  • Posts: 4803
  • Thanks received: 1452
  • Karma: -20
The topic has been locked.
Moderators: MadMagic, Kanna.
Time to create page: 0.154 seconds

132 PLAYERS ONLINE

Connect to server View Gametracker DarkRP 1
8/127
online
Connect to server View Gametracker Deathrun
0/40
online
Connect to server View Gametracker TTT
0/47
online
Connect to server View Gametracker Bhop
0/32
online
Connect to server View Gametracker Surf
0/32
online
Connect to server View Gametracker Prop Hunt
0/42
online
Connect to server View Gametracker Sandbox
0/42
online
Connect to server Discord
124/786
online
Top