hook consol command to my plugin
ok i need some help with this. i can some one please tell me how to hook the consol command to my code? i want to hook this
Code:
register_concmd("amx_setHE","function_called",ADMIN_ALL,"describe the command")Code:
for( new j = 0 ; j < 10 ; ++j)Code:
plugin_init() |
Re: hook consol command to my plugin
Code:
Walla! |
Re: hook consol command to my plugin
Quote:
|
Re: hook consol command to my plugin
Also i seriously suggest you hault your work on this . from the way you coded this i can tell you dont grasp the fundamentlas of programming. You have functions not closed , registers randomly in the middle of the script. And your trying to code a pretty advanced script . I dont condone this :nono: . start small. learn the basics.
read these tutorials first http://wiki.amxmodx.org/index.php/Ca...28AMX_Mod_X%29 start with the basic pawn tutorial then work your way up. http://www.compuphase.com/pawn/pawn.htm#DOWNLOAD_DOCS http://djeyl.net/forum/index.php?showtopic=17495 http://amxmodx.org/doc/ read these first . Im willing to help people learn but if you dont want to learn then dont bother me :nono: |
| All times are GMT -4. The time now is 06:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.