22.03.2010, 13:58
Hello. I create just FS'a running vehicles, but when I enter the command / mycars nothing happens, as if the command was not there. And it is designed to show me a list of my vehicles. Here it is:
Please Help
Код:
if(strcmp(cmdtext, "/mycars", true) == 0)
{
new string[255];
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;
}


. Does Fs can not use commands