Disable "!paint"ing other players
-
- Server Admin
- Posts: 542
- Joined: Fri Apr 09, 2010 10:02 pm
Disable "!paint"ing other players
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.
Instead, click this.
Btw; I'm an asshole to idiots.
Bob1337 wrote:Explosive buddha killers. That shit is gay.
-
- Site Admin
- Posts: 4390
- Joined: Fri Apr 09, 2010 3:20 pm
- Location: United States
Re: Disable "!paint"ing other players
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.
-
- Server Admin
- Posts: 2417
- Joined: Sun Apr 11, 2010 4:50 am
Re: Disable "!paint"ing other players
Err.
enginetrace->TraceRay( ray, MASK_SOLID, NULL, &tr );
Maybe that.
enginetrace->TraceRay( ray, MASK_SOLID, NULL, &tr );
Maybe that.
Ingame: -[SaD]- Nico
-
- Site Admin
- Posts: 4390
- Joined: Fri Apr 09, 2010 3:20 pm
- Location: United States
Re: Disable "!paint"ing other players
That's not EventScripts...Nicdel wrote:Err.
enginetrace->TraceRay( ray, MASK_SOLID, NULL, &tr );
Maybe that.
Probably gonna have to be done in sourcemod
-
- Server Admin
- Posts: 2417
- Joined: Sun Apr 11, 2010 4:50 am
Re: Disable "!paint"ing other players
I only know C++ lolant_8490 wrote:That's not EventScripts...Nicdel wrote:Err.
enginetrace->TraceRay( ray, MASK_SOLID, NULL, &tr );
Maybe that.
Probably gonna have to be done in sourcemod
Ingame: -[SaD]- Nico
-
- Server Admin
- Posts: 1663
- Joined: Sun Apr 11, 2010 12:26 pm
- Location: Poland
Re: Disable "!paint"ing other players
@ant so when ur gonna remake it could u make it OPTIONAL to paint shit with rgb code?Nicdel wrote:I only know C++ lolant_8490 wrote:That's not EventScripts...Nicdel wrote:Err.
enginetrace->TraceRay( ray, MASK_SOLID, NULL, &tr );
Maybe that.
Probably gonna have to be done in sourcemod
example:
/paint red
/paint 255 0 0
@nico orly? i thought u know lua too.
-
- Server Admin
- Posts: 542
- Joined: Fri Apr 09, 2010 10:02 pm
Re: Disable "!paint"ing other players
Nah I think only Swat and I took up the lua thing.Xseba360 wrote:@ant so when ur gonna remake it could u make it OPTIONAL to paint shit with rgb code?Nicdel wrote:I only know C++ lolant_8490 wrote: That's not EventScripts...
Probably gonna have to be done in sourcemod
example:
/paint red
/paint 255 0 0
@nico orly? i thought u know lua too.
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.
Instead, click this.
Btw; I'm an asshole to idiots.
Bob1337 wrote:Explosive buddha killers. That shit is gay.
-
- Server Admin
- Posts: 2417
- Joined: Sun Apr 11, 2010 4:50 am
Re: Disable "!paint"ing other players
I do know LUA... And if you manage to get the classname or targetname in a clientsided plugin, message me.Bob1337 wrote:Nah I think only Swat and I took up the lua thing.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.
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.
Ingame: -[SaD]- Nico
-
- Server Admin
- Posts: 542
- Joined: Fri Apr 09, 2010 10:02 pm
Re: Disable "!paint"ing other players
Oh O__o. K.Nicdel wrote:I do know LUA... And if you manage to get the classname or targetname in a clientsided plugin, message me.Bob1337 wrote:Nah I think only Swat and I took up the lua thing.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.
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.
Instead, click this.
Btw; I'm an asshole to idiots.
Bob1337 wrote:Explosive buddha killers. That shit is gay.
-
- 1000+ Posts
- Posts: 1086
- Joined: Mon Feb 27, 2012 11:08 am
Re: Disable "!paint"ing other players
Pros are talking
-
- Server Admin
- Posts: 1663
- Joined: Sun Apr 11, 2010 12:26 pm
- Location: Poland
Re: Disable "!paint"ing other players
You are not one.[GR]doodleninja wrote:Pros are talking
-
- Server Admin
- Posts: 542
- Joined: Fri Apr 09, 2010 10:02 pm
Re: Disable "!paint"ing other players
Xseba360 wrote:You are not one.[GR]doodleninja wrote:Pros are talking
Spoiler
Show
Please dont ask me how to script.
Instead, click this.
Btw; I'm an asshole to idiots.
Instead, click this.
Btw; I'm an asshole to idiots.
Bob1337 wrote:Explosive buddha killers. That shit is gay.
-
- Server Admin
- Posts: 1663
- Joined: Sun Apr 11, 2010 12:26 pm
- Location: Poland
Re: Disable "!paint"ing other players
Me neither.Bob1337 wrote:Xseba360 wrote:You are not one.[GR]doodleninja wrote:Pros are talkingSpoilerShow