28.09.2012, 16:45
try this ive made
and in your text, change strong to string..
pawn Код:
if(!strcmp(text, "Hi Bot", true))
{
new string[128]; GetPlayerName(playerid,string,sizeof(string));
format(string,sizeof(string),"%s[%d]: %s",string,playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid), string);
SendClientMessageToAll(red, "[BOT]: Hey , Welcome!");
return 0;
}