On INIT twice, but on cmd once !
#5

Well, that's simply impossible. Never happened before. I've tried with client MSG and has shown both vehicles, but this the message there. And it has two return values. Also tried with dcmd and zcmd. With a return value, shows simply nothing:
pawn Код:
dcmd_sta(playerid, params[])
{
    new string[200];
    new model;
    for(new v; v < MAX_VEHICLES; v++)
    {
      if(!strcmp(Vehicle[v][Owner],GetMyName(playerid),true))
      {
        contagem++;
        printf("%i",contagem); // Says just founds 1 vehicles with my owner name
        format(string,sizeof(string),""#red"Name: %s | Model: %d | ID: %d\n",VehicleNames[Vehicle[v][Model]-400],Vehicle[v][Model],Vehicle[v][ID]);


      }
     



    }
    return MsgForAll(color,string);
}
Reply


Messages In This Thread
On INIT twice, but on cmd once ! - by blackwave - 01.03.2011, 20:57
Re: On INIT twice, but on cmd once ! - by JaTochNietDan - 01.03.2011, 21:02
Re: On INIT twice, but on cmd once ! - by blackwave - 01.03.2011, 21:06
Re: On INIT twice, but on cmd once ! - by JaTochNietDan - 01.03.2011, 21:07
Re: On INIT twice, but on cmd once ! - by blackwave - 01.03.2011, 21:15
Re: On INIT twice, but on cmd once ! - by blackwave - 02.03.2011, 20:09

Forum Jump:


Users browsing this thread: 1 Guest(s)