10.10.2009, 21:23
Hi there.
I'm using this little code to get the vehiclemodel of every car I enter, but after a few cars, the number of the model gets stuck:
This means that if I enter a vehicle with modelid of 401, then 565 and then 601, after a few cars it will always show 601 & I have to re-generate the cars reloading the FS to get it working again. But it happens again and again..
Is this a bug with the command or is something wrong that can be causing this?
I'm using this little code to get the vehiclemodel of every car I enter, but after a few cars, the number of the model gets stuck:
Код:
public OnPlayerEnterVehicle(playerid) { new string[128]; format(string,sizeof(string), "modelo vehiculo: %i", GetVehicleModel(playerid)); SendClientMessage(playerid, 0x00ff0000, string); return 1; }
Is this a bug with the command or is something wrong that can be causing this?