Quote:
Originally Posted by Infierno
Quote:
Originally Posted by [SRG
Toxic_Racer ]
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?
|
Cada bot tiene su propio script, y se ponen en la carpeta "npcmodes", busca la carpeta ahн hay unos ejemplos; aunque puedes usar el mismo script para dos bots.
|
Joder amigo, eres impresionante!!!! ya el bot me responde lo que le pregunto :







:, pero ahora me puedes ayudar a que cuando yo le diga que al haga algo, el lo haga?