Raised This Month: $ Target: $400
 0% 

First plugin mismatch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Wolfe
New Member
Join Date: Dec 2005
Old 12-30-2005 , 01:49   First plugin mismatch
Reply With Quote #1

Yes, i know this is a small very small and might be all wrong. But i am trying to learn amxx and have tryed to start it.

Code:
public plugin_init()
{
     register_plugin(PLUGIN, VERSION, AUTHOR)
     register_clcmd("pause","ADMIN_PAUSE","ADMIN_LEVEL_B")
}
public function(id)
{
new name [33]
get_user_name(id,name,1)

client_cmd(0,"spk goslow.wav")
client_print(0,print_chat,"[AMX]Server is in pause mode",name)

return PLUGIN_HANDLED
}
Ps its 1:50 am here so im a little tired
Wolfe is offline
 



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 16:10.


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