02.06.2011, 19:17
You can create an array to store the calls in. One for their name, and one for the time of call. As they call, just move every index up one and set the most recent one to the first one. Kinda confusing sounding, but it's simple.
pawn Код:
//At the top of your script
new CallerTime[10];
new CallerName[10][MAX_PLAYER_NAME];
//When a new player calls
for(new i; i<9; i++)
{
CallerTime[i+1] = CallerTime[i];
CallerName[i+1] = CallerName[i];
}
CallerTime[0] = calltime;//Obviously you adjust these two to the player's name and the time of call
CallerName[0] = pname;