String replace.
Dear all,
I was wondering if it is at all possibly in Pawn to make a client command, and when they type it, Pawn takes the output, replaces any string with the new string, and update the client? |
Re: String replace.
Hello wpK, if Zenith isn't on tomorrow I will try and make your plugin. :)
|
Re: String replace.
A say command ?
|
Re: String replace.
I don't know what kind of command to give an example for, so lets just say status, is there a way to replace lets say... The name of someone?
|
Re: String replace.
no it's not, you will have to recreate the whole status function, which means:
Forward it, block it with return PLUGIN_HANDLED go through all clients, get their names,pings,scores, check if the names are correct, else change them print new status command |
Re: String replace.
Quote:
|
Re: String replace.
isn't it a server command ?
|
Re: String replace.
It is also a server command but it's handled differently. And anyway he wanted to alter a client command name.
|
| All times are GMT -4. The time now is 07:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.