19.03.2011, 21:21
pawn Код:
//TOP of script, below #includes
forward bottalk(id);
new messages[][X]=
{
"lolololololol",
"messaaaaaaaaage"
};
// END of ongamemodeinit
for(new bot; bot<MAX_PLAYERS;bot++)
{
if(IsPlayerNPC(bot))bottalk(bot);
}
//BOTTOM of script
public bottalk(id)
{
//chatfunction(id,messages[random(sizeof(messages))]);
SetTimetEx("bottalk",5000+random(5000),0,"i",id);
}