22.09.2013, 05:16
pawn Код:
stock bMessage(playerid, const text[]){
for(new line; line < 6; line ++){
TextDrawShowForPlayer(playerid, mBox[line]);
}
for(new line; line < 6; line++){
TextDrawHideForAll(mBox[line]);
if(line < 5){
mString[line] = mString[line+1];
TextDrawSetString(mBox[line], mString[line]);
}
}
format(mString[6], 128, "%s\n", text);
TextDrawSetString(mBox[5], mString[6]);
for(new line; line < 6; line++){
TextDrawShowForAll(mBox[line]);
}
}