Raised This Month: $ Target: $400
 0% 

register_clcmd


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
stigma
Senior Member
Join Date: Mar 2005
Location: Denmark
Old 03-25-2005 , 11:40   register_clcmd
Reply With Quote #1

Got a little problem with a client command.

Code:
#include <amxmodx> public SayTest() {   new message[64]   format(message,63,"TEST FFS")     set_hudmessage(100, 100, 100, 0.5, 0.5, 0, 6.0, 12.0, 1, 1, 1)   show_hudmessage(id,message) } public plugin_init(){   reigster_clcmd("say test","SayTest","0","Tester")   return PLUGIN_CONTINUE }

Got 4 errors when compile:

(Line 8 ) Error 017: undefined symbol "id"
(Line 8 ) Error 001: expected token: ";", but found ">"
(Line 8 ) Error 029: invalid expression, assumed zero
(Line 8 ) Fatal error 107: too many error messages on one line
stigma is offline
Send a message via MSN to stigma Send a message via Skype™ to stigma
 



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:55.


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