Hard time understanding, lol.
Today I'm too lazy to explain, so here:
pawn Код:
new count=-1;
public OnPlayerText(playerid, text[])
{
new message[180],playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
count+=1;
if(count==0)
{
format(message,sizeof(message),"%s says: %s", playername, text);
SendClientMessageToAll(yourcolor, message);
return 0;
}
if(count==1)
{
format(message,sizeof(message),"%s then says: %s", playername, text);
SendClientMessageToAll(yourcolor, message);
return 0;
}
if(count==2)
{
format(message,sizeof(message),"%s chit chats: %s", playername, text);
SendClientMessageToAll(yourcolor, message);
return 0;
}
if(count==3)
{
format(message,sizeof(message),"%s says while pukeing: %s", playername, text);
SendClientMessageToAll(yourcolor, message);
return 0;
}
if(count==4)
{
format(message,sizeof(message),"%s responds: %s", playername, text);
SendClientMessageToAll(yourcolor, message);
return 0;
}
if(count==5)
{
format(message,sizeof(message),"%s wonders: %s", playername, text);
SendClientMessageToAll(yourcolor, message);
count=-1;
return 0;
}
return 1;
}
It could be done more carefully, i did it like simple.