Command in FS
#8

Код:
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;
   }
}
Reply


Messages In This Thread
Command in FS - by MrLeNy - 22.03.2010, 13:58
Re: Command in FS - by marharth - 22.03.2010, 14:02
Re: Command in FS - by MrLeNy - 22.03.2010, 14:04
Re: Command in FS - by marharth - 22.03.2010, 14:09
Re: Command in FS - by MrLeNy - 22.03.2010, 18:12
Re: Command in FS - by MrLeNy - 23.03.2010, 12:57
Re: Command in FS - by adsy - 23.03.2010, 15:16
Re: Command in FS - by Joe_ - 23.03.2010, 16:18
Re: Command in FS - by MrLeNy - 29.03.2010, 16:01

Forum Jump:


Users browsing this thread: 1 Guest(s)