editing .SMA
I AM NOT TRYING TO PASS THIS(these) PLUGIN(s) AS MY OWN IN ANY WAY SHAPE OR FORM
I took the .sma of >THIS< plugin and edited a few strings. I changed all the words "rules" to "maps". I made it where when you're in my server and you type "/maps", instead typing "/showrules" and showing you rules it lists all the custom maps available for nomination. The help I want from you guys is what do I do to make it when a person types "/maps" the maps.txt file is read but it doesn't display (Player: /maps". Kind of like /rank and /top15 when you type those it doesn't show up in the text area it just shows you your rank or pops up the MOTD window with the top15.. My reason for this request is because I am planning on using my Task Scheduler to add a line amx_task 5 amx_execall "say /maps" mr I will NOT try to claim this as mine, I would NOT attempt to re-distribute it. It would be for personal-server use only.. Please help out if you know anything about scripting!! Thanks in advance, -zx0rq |
using the original plugin as an example...
Code:
register_clcmd("say /rules", "clientrules", ADMIN_ALL, "- show rules")Code:
public clientrules(id, level, cid) {Code:
public clientrules(id, level, cid) { |
|
| All times are GMT -4. The time now is 05:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.