11.11.2010, 13:35
You want to make a multi-dimensional array and do some string comparison? Well here's a simple example.
pawn Код:
new Lent[MAX_PLAYERS][128]; // This initializes a multi-dimensional array with one cell of 500 length and a second cell with 128 length.
pawn Код:
if(strcmp(Lent[playerid],"Torran0",true) == 0) // Use strcmp to compare strings
{
// The string stored in the playerid's cell in the Lent array is "Torran0"
}