17.02.2013, 17:44
Hi all,
I think i found a bug.
I have tried to destroy an attachedvehicle object but it doesn't work.
Example:
Is this a bug or my code is wrong?
Admigo
I think i found a bug.
I have tried to destroy an attachedvehicle object but it doesn't work.
Example:
pawn Код:
if(!strcmp(cmdtext, "/test", true))
{
new objectid;
new vehicleid;
vehicleid=GetPlayerVehicleID(playerid);
if(Variable == 0)
{
AttachObjectToVehicle(objectid,vehicleid, -0.034999, 1.749998, 0.329999, 0.000000, 0.000000, 0.000000); //Object Model: 18646 |
Variable = 1;
return 1;
}
else if(Variable == 1)
{
DestroyObject(objectid);
Variable = 0;
return 1;
}
return 1;
}
Admigo