Raised This Month: $ Target: $400
 0% 

Plugin to show owner


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
m.touqeerafzal
Member
Join Date: May 2013
Old 07-15-2013 , 12:16   Plugin to show owner
Reply With Quote #1

can any one plz help me out.......

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........
m.touqeerafzal is offline
Send a message via Skype™ to m.touqeerafzal
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode