Raised This Month: $ Target: $400
 0% 

My script


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kasc
Junior Member
Join Date: Mar 2005
Location: The Grand UK!
Old 03-29-2005 , 08:16   My script
Reply With Quote #1

Hi, i'm extremly new to Small and its bynaries and syntax (confused already ) Here's my code so far :
Code:
#include <amxmodx>
#include <amxmisc>


new PLUGIN[]="You Are Stupid"
new AUTHOR[]="Kasc"
new VERSION[]="1.00"

public plugin_init()
{
     register_plugin(PLUGIN, VERSION, AUTHOR)
     register_clcmd("amx_urstupid","myfunction",AMX_HELP,"Declares that you think a specific person is stupid!")
     
} 

public myfunction(id) {
	
	
}
As u can see its a plugin that anyone can use to declare tht u think sum1 is stupid! But i dont know what to do from here
Ive figured at tht i have to use get_user_name (tell me if im wrong)

Example:
u type in console : "amx_urstupid kasc"
and it would say in HUD : "|R3VO| Kasc has just been called stupid by |R3VO| Kasc"
Please help
Thanks
__________________
I like it when you get bad karma, especially because of its randomness!
kasc is offline
Send a message via AIM to kasc Send a message via MSN to kasc
 



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 09:53.


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