View Single Post
dustinandband
Senior Member
Join Date: May 2015
Old 07-26-2019 , 14:07   Re: [L4D2] [Req/Pay] I Need Plugin Like This
Reply With Quote #7

Honestly that plugin wasn't working for me, and the only reason I included manually firing the name changing event in the code is to show I tried that, as well as the 'SetClientName' method.

Manually checking to see if the handle != INVALID_HANDLE before deleting it still doesn't fix the error. Weird. Maybe someone with more experience can post a suggestion.

snippet
Spoiler


errors.log
Spoiler


edit:

This should work for you I think. For some reason renaming bots on my test server (which only has the default sourcemod plugins installed) doesn't work for me, but since it works for you I think the plugin will work fine without manually firing that name event.
Spoiler


For some reason my test server doesn't allow renaming bots but does allow for renaming human players so that's odd. Tried the default !rename command that comes with sourcemod and even wrote out a test script to confirm it doesn't work..

https://imgur.com/wuwdbLg

Spoiler

Last edited by dustinandband; 07-27-2019 at 11:45.
dustinandband is offline