Quote:
Originally Posted by Infierno
pawn Код:
public OnPlayerText(playerid, text[]) { if (strfind(text, "stupid bot") != -1) { new string[80], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "Hey %s! Don't say those things! We, bots, are cool!", name); SendChat(string); } return 1; }
Йsto va en el script del npc, "a_npc" sуlo se puede usar en esos scripts.
|
Pero en el include?? o debo crear un scrip para esto?