Raised This Month: $ Target: $400
 0% 

Information about destroy objects on maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 05-04-2010 , 15:59   Re: Information about destroy objects on maps
Reply With Quote #1

You shouldn't really use ID's, since they vary by server, but if it's just going to your server, use this.
Code:
#include <amxmodx> #include <fakemeta> #define ITEM_ID 9999 // your item id public plugin_init() {     register_plugin( "Classname Checker", "1.0", "Wrecked" )     register_clcmd( "say /cname", "CMD_Cname" ) } public CMD_Cname( id ) {     new cname[32]     pev( ITEM_ID, pev_classname, cname, 31 )     client_print( id, print_chat, "Classname: %s", cname ) }

Type /cname in all chat to get the classname of the item. Replace ITEM_ID's value of 9999 with the item ID.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ 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 03:48.


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