Plugin to show owner
can any one plz help me out.......:cry:
i want a plugin of amxmodx for cs1.6 which shows the name of owner when client says "/owner" i tried some code but it did'nt work.... i did't know this pawn language :@ #include <amxmodx> #include <amxmisc> #include <cstrike> #include <fun> static const COLOR[] = "^x04" new gmsgSayText gmsgSayText = get_user_msgid("SayText") public plugin_init() { register_plugin("Show Owner", "1.0", "Mirxa TouQeer") register_clcmd("say /owner", "show_owner") //register_clcmd("say /restartscore", "reset_score") //register_clcmd("say /rs", "reset_score") } public show_owner(user) { new len len = format(message, 255, "%s Owner: ",COLOR) print_message(user,message) } print_message(id, msg[]) { message_begin(MSG_ONE, gmsgSayText, {0,0,0}, id) write_byte(id) write_string(msg) message_end() } plzz help me........ |
Re: Plugin to show owner
Replace the Owner's name with whatever you want to.The Code Dispays a Message at every round start Type /owner to see who is the owner :) .. If you want to disable that .. Just
Comment out register_event("HLTV", "event_round_start", "a", "1=0", "2=0") like //register_event("HLTV", "event_round_start", "a", "1=0", "2=0") in plugin_init() Hope I Helped :) PHP Code:
|
Re: Plugin to show owner
thanx broooo :)
i'm just loving it.... <3 <3 just need little bit changes in format.... i'll try it myself..... if there is problem then i'll ask u again...... once again thank u sooooooo much i was in search of this plugin since a month ago.... thanxxxxx :) |
Re: Plugin to show owner
Anytime .. Sure thing. Glad I helped :)
Quote:
|
| All times are GMT -4. The time now is 06:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.