Raised This Month: $ Target: $400
 0% 

Example Plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 11-16-2011 , 10:20   Example Plugin
Reply With Quote #1

Hi, because this plugin not compiling? And this example is correct?

PHP Code:
#include <amxmodx>
#include <amxmisc>

public plugin_init()

    
register_plugin("Example Plugin""0.1""")
}

public 
client_disconnect(id)
{
   new 
name[32], steamid[32]
   
   
get_user_name(idname31)
   
get_user_authid(idsteamid31)
   
   
set_task(30.1"Example"namesteam)
}

public 
Example(name[], steamid[])
{
  
server_print("SteamID: ^"%s^""steamid)
  
server_print("Name: ^"%s^""name)

__________________
kramesa is offline
 


Thread Tools
Display Modes

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 08:28.


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