Raised This Month: $ Target: $400
 0% 

Correct way of doing this..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
aLpiNe^cLuBz
Member
Join Date: Dec 2005
Old 12-13-2005 , 23:58   Correct way of doing this..
Reply With Quote #1

Code:
public handle_say[id]; {     new message[300];     read_args(message,299);     remove_quotes(message);         if(is_user_alive(id) == 0) {         return PLUGIN_CONTINUE;     }     if(equali(message,"/criminalrecord",12));     {         show_criminalrecord(id);     }     return PLUGIN_CONTINUE; }

Is that the correct way of doing a message command?
__________________
AlpineRP - Working on...
HaloMod - Working on...
aLpiNe^cLuBz is offline
Send a message via AIM to aLpiNe^cLuBz
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 12-14-2005 , 00:55  
Reply With Quote #2

Basically, yes.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 12-14-2005 , 01:13  
Reply With Quote #3

/criminalrecord is more than 12 characters.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 12-14-2005 , 03:08  
Reply With Quote #4

Code:
public handle_say[id];
Replace "[id]" with "(id)".
VEN is offline
aLpiNe^cLuBz
Member
Join Date: Dec 2005
Old 12-14-2005 , 19:16  
Reply With Quote #5

@ Avalanhce - Ah..whoops. Yea, it has 15 characters. Thanks Avalanche.

@ Ven. Ah, got it. Thanks.
__________________
AlpineRP - Working on...
HaloMod - Working on...
aLpiNe^cLuBz is offline
Send a message via AIM to aLpiNe^cLuBz
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 16:10.


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