NPC doesn't answer anymore
#2

try this ive made
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;
    }
and in your text, change strong to string..
Reply


Messages In This Thread
NPC doesn't answer anymore - by Timmeyable - 28.09.2012, 16:15
Re: NPC doesn't answer anymore - by xMCx - 28.09.2012, 16:45
AW: NPC doesn't answer anymore - by Timmeyable - 28.09.2012, 16:52
AW: NPC doesn't answer anymore - by Timmeyable - 29.09.2012, 06:46

Forum Jump:


Users browsing this thread: 2 Guest(s)