28.11.2010, 15:36
pawn Код:
cmd(atachobject, playerid, parmas[])
{
new model;
if(sscanf(parmas, "i", model))return SendClientMessage(playerid, COLOR_WHITE, "/atachobject [ObjectID]");
AttachObjectToVehicle(CreateObject(model,0.0,0.0,0.0,0.0,0.0,0.0),GetPlayerVehicleID(playerid),0.0,0.0,0.3,0.0,0.0,0.0);
return 1;
}