scriptig problem
my problem is that i don"know how to create codes for sma smx or modify pluginsto suite my desire so i've seen on a server and i want to know how it is done .how can i make say commands usually made by statsme like /top10that show's modt with top10 and make more of this commands.is it a statsme scripting modification or a plugin.
|
Re: scriptig problem
Code:
#include <amxmodx>If you want first read some values (like kills from cstats)and then make your own motd (like top10) with format(...) ofc it's possible too. Just say if you don't get something, did I explain badly last time? :) |
Re: scriptig problem
i'm a litlle stupid so correct me .you want me to make a file with your script in servers /cstrike folder but were do i put the modt's htlm
|
Re: scriptig problem
in the the mod folder (cstrike) and dont make it call a .html file. Just a .txt file with at html code inside...
|
Re: scriptig problem
Quote:
Quote:
Hope this helps a little bit. |
Re: scriptig problem
the plugin works
unknown unknown unknown mapcycle.amxx runnin but perhaps i've missplaced the file that had to be shown because when i type the say command /maps nothig hapenns .forget this what did you mean by "If you want to make your own text in the sma, just say I can show it too. ":cry: |
Re: scriptig problem
I meant that if you want to show some kind of top by killers or anything else, it can't be done with file(The information isn't in any file). So you should make the text with format(after reading the information) and then show the motd you created.
Anyway, it isn't working? Are you sure you have the file in Cstrike folder, or with url? If you made your own plugin, you can always post it here, so we can check it if it's right. |
Re: scriptig problem
happy new year Snow the plugin work's just fine the problem was with the registered command so watch :
#include <amxmodx> public plugin_init() register_clcmd("say /maps", "Function"); public Function(id) show_motd(id, "master", "Mapcycle"); the plugin work's with txt and url but it doesn't work with html anyway it does what i expected from it . and many thanks Now another problem how do i make it run multiple of this commands so i don't have to do to many of this pugin and how do i make the txt a sma because now it's work's just with a web compiler not with the one from scripts |
Re: scriptig problem
Nice that it works.
Quote:
Quote:
Quote:
|
| All times are GMT -4. The time now is 09:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.