30.06.2013, 21:15
pawn Код:
if (strcmp("/DIS", cmdtext, true)==0)
{
SendClientMessage(playerid, 0x00FFFFFF, "Bait-Car Disabled.");
SetVehicleParamsEx(BC1, 0, 1, 0, 1, 0, 0, 0);
SetVehicleParamsEx(BC2, 0, 1, 0, 1, 0, 0, 0);
SetVehicleParamsEx(BC3, 0, 1, 0, 1, 0, 0, 0);
return 1;
}
pawn Код:
DestroyVehicle(BC1);
DestroyVehicle(BC2);
DestroyVehicle(BC3);
for example /bc1 will destroy only vehicle BC1.
anyhow,nice idea.