/PlayerHelper
ok i released a plugin called
Player Helper and im adding a MOTD to Help people by using /playerhelper i need to know if this would work instead of having Server Owners download the PlayerHelper.txt and adding it to their server PHP Code:
|
Re: /PlayerHelper
Uh, you can use
get_configsdir(configdir,199) new playerhelper[200] format(playerhelper,199,"%s/playerhelp.txt",configdir) if(!file_exists(playerhelper) new formatedtext[256] format(formatedtext,255,"Welcome to my player helper plugin! ^n This is teh epic lulz etc!") write_file(playerhelper,formatedtext,-1) But you can't call from a web page. |
Re: /PlayerHelper
ok, i guess ill have people Download the PlayerHelper.txt with the plugin
|
Re: /PlayerHelper
|
Re: /PlayerHelper
I don't know what you want to do with the motd, but you can format it in your plugin so no file needed.
Have a look in plugins codes, for example /top15 (statsx plugin). |
Re: /PlayerHelper
Quote:
|
Re: /PlayerHelper
Ever heard about iframe?
|
| All times are GMT -4. The time now is 16:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.