This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Plugin request


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fakkjoo
Member
Join Date: Feb 2004
Old 03-20-2004 , 13:34   Plugin request
Reply With Quote #1

I dunno if this plugin is out there already (yes ive looked) but i need a plugin with this simple function (dunno how to script):

Just say /rules and a popup comes up and tell u the rules.

/M
__________________
I´m a swede! =)

- cccm.no-ip.com - up now - soon with amxx
fakkjoo is offline
tnsk8er27
Senior Member
Join Date: Mar 2004
Location: richfield MN
Old 03-20-2004 , 13:37  
Reply With Quote #2

makin it right now =0)
__________________
Toxic
tnsk8er27 is offline
Send a message via AIM to tnsk8er27
fakkjoo
Member
Join Date: Feb 2004
Old 03-20-2004 , 13:38   thx
Reply With Quote #3

D thx... would u mail it to me?
__________________
I´m a swede! =)

- cccm.no-ip.com - up now - soon with amxx
fakkjoo is offline
tnsk8er27
Senior Member
Join Date: Mar 2004
Location: richfield MN
Old 03-20-2004 , 13:48  
Reply With Quote #4

when im done i will just post it in the plugin section

if you want you can test it out b4 i do to see if it works
__________________
Toxic
tnsk8er27 is offline
Send a message via AIM to tnsk8er27
fakkjoo
Member
Join Date: Feb 2004
Old 03-20-2004 , 13:51   :D
Reply With Quote #5

ok I would like to!
__________________
I´m a swede! =)

- cccm.no-ip.com - up now - soon with amxx
fakkjoo is offline
tnsk8er27
Senior Member
Join Date: Mar 2004
Location: richfield MN
Old 03-20-2004 , 14:50  
Reply With Quote #6

Code:
#include <amxmodx> #include <amxmisc> public admin_rules(id,level,cid){     if (!cmd_access(id,level,cid,1))         return PLUGIN_HANDLED         show_motd("/addons/amxx/rules.txt","Server Rules")     new name[32]     get_user_name(id,name,31)     client_print(0,print_chat,"dont shoot s% because he is reading the server rules!!",name)     return PLUGIN_HANDLED   } public plugin_init() {     register_plugin("Rules","1.0","toxic")     register_concmd("say /rules","admin_rules",0,"< shows the server rules >")       return PLUGIN_CONTINUE }

k i got this so far but it keeps giving me this error


Code:
rules.sma(8) : error 035: argument type mismatch (argument 1) 1 Error.
__________________
Toxic
tnsk8er27 is offline
Send a message via AIM to tnsk8er27
fakkjoo
Member
Join Date: Feb 2004
Old 03-20-2004 , 15:01  
Reply With Quote #7

Im not so good in scripting but it looks ok to me.. Cant find the bug but some other might
__________________
I´m a swede! =)

- cccm.no-ip.com - up now - soon with amxx
fakkjoo is offline
[RED-Designs]
Senior Member
Join Date: Mar 2004
Location: .us
Old 03-20-2004 , 15:02  
Reply With Quote #8

Code:
    show_motd("/addons/amxx/rules.txt","Server Rules")

Thats your problem
__________________
.My personal Blog
."If the country were open on its borders, new
forms would certainly immigrate, and this also
would seriously disturb the relations of some
of the former inhabitants." - Charles Darwin
[RED-Designs] is offline
Send a message via AIM to [RED-Designs] Send a message via MSN to [RED-Designs] Send a message via Yahoo to [RED-Designs]
tnsk8er27
Senior Member
Join Date: Mar 2004
Location: richfield MN
Old 03-20-2004 , 15:25  
Reply With Quote #9

yeah i know its the problem but how do i fix it
__________________
Toxic
tnsk8er27 is offline
Send a message via AIM to tnsk8er27
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 03-20-2004 , 15:30  
Reply With Quote #10

show_motd(id,"/addons/amxx/rules.txt","Server Rules")
Freecode is offline
Reply



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 23:05.


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