version 1.78 | | version 1.79 |
---|
| | |
/* | | /* |
* static char *rcsid_plugins_c = | | * static char *rcsid_plugins_c = |
* "$Id: plugins.c,v 1.78 2006/08/27 14:09:18 ryo_saeba Exp $"; | | * "$Id: plugins.c,v 1.79 2006/09/17 05:34:39 qal21 Exp $"; |
*/ | | */ |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
| | |
msg = va_arg(args, char*); | | msg = va_arg(args, char*); |
va_end(args); | | va_end(args); |
| | |
| | if (op->type == PLAYER) { |
rv = command_say(op, msg); | | rv = command_say(op, msg); |
| | } else { |
| | npc_say(op, msg); |
| | rv = 0; |
| | } |
*type = CFAPI_INT; | | *type = CFAPI_INT; |
return &rv; | | return &rv; |
} | | } |