01.03.2011, 21:15
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);
}