04.02.2012, 02:52
very nice job now i dont need to talk with myself
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : error 017: undefined symbol "format" C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(31) : error 017: undefined symbol "SendClientMessage" C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : error 017: undefined symbol "format" C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(37) : error 017: undefined symbol "SendClientMessage" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : error 017: undefined symbol "format" C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(31) : error 017: undefined symbol "SendClientMessage" C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : error 017: undefined symbol "format" C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(37) : error 017: undefined symbol "SendClientMessage" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
#include <CleverBot>
You're not suppose to compile the include. Put the .inc file in your pawno/include folder then go to your gamemode and do
pawn Код:
|
#include <CleverBot>
#include <a_samp>
C:\Documents and Settings\Administrator\Desktop\gta sa server\gamemodes\DDPDRIFT.pwn(3674) : warning 203: symbol is never used: "message" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.
CMD:message(playerid, params[])
{
if(isnull(params)) return SendClientMessage(playerid,-1,"Error Use It Like This: /message [Text]");
new test[128];
format(test, sizeof(test), "Me: %s", params);
SendClientMessage(playerid, 0xFFFFFFFF, test);
SendPlayerMessageToCleverbot(playerid, params);
return 1;
}
what i meant to say was, thats what i get when i compile my GM with the include installed, sorry for that i was tired. lol
*EDIT* okay never mind i put pawn Код:
pawn Код:
BUT, im getting a warning saying Код:
C:\Documents and Settings\Administrator\Desktop\gta sa server\gamemodes\DDPDRIFT.pwn(3674) : warning 203: symbol is never used: "message" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. pawn Код:
|
SendPlayerMessageToCleverbot(playerid, "Message Here!");