Raised This Month: $ Target: $400
 0% 

Totally Lost.....


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bonafide
Senior Member
Join Date: Feb 2006
Location: Venice Beach!
Old 10-23-2006 , 23:40   Totally Lost.....
Reply With Quote #1

First ever plugin i am trying to make about giveing kills and i didnt see it as a plugin and wanted to make one.
Lost on this part of code:
Code:
public plugin_init() {"amx-addkill""1.0","bonafide")     register_srvcmd("amx_addkill","add_kill",admin_addkill,<authid, nick, @team or #userid><kills>")     register_clcmd("amx_addkill","add_kill",admin_addkill,user give kill to specific user")     register_concmd("amx_addkill","add_kill",ADMIN_LEVEL_A,user add kill to specific user)     } public do_addkill(id) {     if (!(get_user_flags(id)&ADMIN_immunity)) {         console_print(id,"[AMXX] No access")         return PLUGIN_HANDLED
I have no idea really, i wanted to make sure this is correct.
It is probly completely wrong
__________________

Last edited by bonafide; 10-24-2006 at 00:06.
bonafide is offline
Send a message via ICQ to bonafide Send a message via AIM to bonafide Send a message via MSN to bonafide Send a message via Skype™ to bonafide
 



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 04:49.


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