23.03.2010, 16:18
Код:
if(strcmp(cmdtext, "/mycars", true) == 0)
{
new string[128]; // No need for a string lenght of 256. 128 is the maximum string lenght to be sent via client message.
for(new v = 0; v < MAX_CARS; v++)
{
if(strcmp(PlayerName(playerid), CarInfo[v][cOwner], true) == 0)
{
format(string, sizeof(string),"%s", NazwyPojazdow[GetVehicleModel(v) - 400]);
SendClientMessage(playerid, 0xA4A4A4FF, string);
}
return 1;
}
}

