Disable "!paint"ing other players

User avatar
Bob1337
Server Admin
Posts: 542
Joined: Fri Apr 09, 2010 10:02 pm

Disable "!paint"ing other players

Post by Bob1337 »

Possible? Really annoying. Nubs always do this shit.
Please dont ask me how to script.
Instead, click this.
Btw; I'm an asshole to idiots.
Bob1337 wrote:Explosive buddha killers. That shit is gay.
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: Disable "!paint"ing other players

Post by ant_8490 »

hmm. This was made back before i knew Sourcemod, so its coded with eventscripts. Do you know any command to get the classname of the entity your looking at? If not, then it will have to be recoded in Sourcemod.
[GR]Ant_8490{A}
Area 51 Servers - Owner
Image
Image
Image
Image

MSI GE76 Raider
i9-11980HK 2.6GHz 8-Core Processor
32GB 3200Mhz DDR4 RAM
NVIDIA GeForce RTX 3080 Laptop GPU 16GB
2TB Samsung 980 Pro SSD
Windows 10
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: Disable "!paint"ing other players

Post by Nicdel »

Err.

enginetrace->TraceRay( ray, MASK_SOLID, NULL, &tr );

Maybe that.
Ingame: -[SaD]- Nico

Image
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: Disable "!paint"ing other players

Post by ant_8490 »

Nicdel wrote:Err.

enginetrace->TraceRay( ray, MASK_SOLID, NULL, &tr );

Maybe that.
That's not EventScripts...
Probably gonna have to be done in sourcemod
[GR]Ant_8490{A}
Area 51 Servers - Owner
Image
Image
Image
Image

MSI GE76 Raider
i9-11980HK 2.6GHz 8-Core Processor
32GB 3200Mhz DDR4 RAM
NVIDIA GeForce RTX 3080 Laptop GPU 16GB
2TB Samsung 980 Pro SSD
Windows 10
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: Disable "!paint"ing other players

Post by Nicdel »

ant_8490 wrote:
Nicdel wrote:Err.

enginetrace->TraceRay( ray, MASK_SOLID, NULL, &tr );

Maybe that.
That's not EventScripts...
Probably gonna have to be done in sourcemod
I only know C++ lol
Ingame: -[SaD]- Nico

Image
User avatar
Xseba360
Server Admin
Posts: 1663
Joined: Sun Apr 11, 2010 12:26 pm
Location: Poland

Re: Disable "!paint"ing other players

Post by Xseba360 »

Nicdel wrote:
ant_8490 wrote:
Nicdel wrote:Err.

enginetrace->TraceRay( ray, MASK_SOLID, NULL, &tr );

Maybe that.
That's not EventScripts...
Probably gonna have to be done in sourcemod
I only know C++ lol
@ant so when ur gonna remake it could u make it OPTIONAL to paint shit with rgb code?
example:
/paint red
/paint 255 0 0

@nico orly? i thought u know lua too.
User avatar
Bob1337
Server Admin
Posts: 542
Joined: Fri Apr 09, 2010 10:02 pm

Re: Disable "!paint"ing other players

Post by Bob1337 »

Xseba360 wrote:
Nicdel wrote:
ant_8490 wrote: That's not EventScripts...
Probably gonna have to be done in sourcemod
I only know C++ lol
@ant so when ur gonna remake it could u make it OPTIONAL to paint shit with rgb code?
example:
/paint red
/paint 255 0 0

@nico orly? i thought u know lua too.
Nah I think only Swat and I took up the lua thing.

We're actually trying to get a targetname/classname getter using lua to work...
But dunno if it's possible. Anyone know if names are client sided? Prob not.
Please dont ask me how to script.
Instead, click this.
Btw; I'm an asshole to idiots.
Bob1337 wrote:Explosive buddha killers. That shit is gay.
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: Disable "!paint"ing other players

Post by Nicdel »

Bob1337 wrote:
Xseba360 wrote: @ant so when ur gonna remake it could u make it OPTIONAL to paint shit with rgb code?
example:
/paint red
/paint 255 0 0

@nico orly? i thought u know lua too.
Nah I think only Swat and I took up the lua thing.

We're actually trying to get a targetname/classname getter using lua to work...
But dunno if it's possible. Anyone know if names are client sided? Prob not.
I do know LUA... And if you manage to get the classname or targetname in a clientsided plugin, message me.
Ingame: -[SaD]- Nico

Image
User avatar
Bob1337
Server Admin
Posts: 542
Joined: Fri Apr 09, 2010 10:02 pm

Re: Disable "!paint"ing other players

Post by Bob1337 »

Nicdel wrote:
Bob1337 wrote:
Xseba360 wrote: @ant so when ur gonna remake it could u make it OPTIONAL to paint shit with rgb code?
example:
/paint red
/paint 255 0 0

@nico orly? i thought u know lua too.
Nah I think only Swat and I took up the lua thing.

We're actually trying to get a targetname/classname getter using lua to work...
But dunno if it's possible. Anyone know if names are client sided? Prob not.
I do know LUA... And if you manage to get the classname or targetname in a clientsided plugin, message me.
Oh O__o. K.
Please dont ask me how to script.
Instead, click this.
Btw; I'm an asshole to idiots.
Bob1337 wrote:Explosive buddha killers. That shit is gay.
[GR]doodleninja
1000+ Posts
1000+ Posts
Posts: 1086
Joined: Mon Feb 27, 2012 11:08 am

Re: Disable "!paint"ing other players

Post by [GR]doodleninja »

Pros are talking
User avatar
Xseba360
Server Admin
Posts: 1663
Joined: Sun Apr 11, 2010 12:26 pm
Location: Poland

Re: Disable "!paint"ing other players

Post by Xseba360 »

[GR]doodleninja wrote:Pros are talking
You are not one.
User avatar
Bob1337
Server Admin
Posts: 542
Joined: Fri Apr 09, 2010 10:02 pm

Re: Disable "!paint"ing other players

Post by Bob1337 »

Xseba360 wrote:
[GR]doodleninja wrote:Pros are talking
You are not one.
Spoiler
Show
Image
Please dont ask me how to script.
Instead, click this.
Btw; I'm an asshole to idiots.
Bob1337 wrote:Explosive buddha killers. That shit is gay.
User avatar
Xseba360
Server Admin
Posts: 1663
Joined: Sun Apr 11, 2010 12:26 pm
Location: Poland

Re: Disable "!paint"ing other players

Post by Xseba360 »

Bob1337 wrote:
Xseba360 wrote:
[GR]doodleninja wrote:Pros are talking
You are not one.
Spoiler
Show
Image
Me neither.